Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

collision with phantom objects?

Tai Clifford
Registered User
Join date: 26 Jul 2006
Posts: 45
10-04-2006 21:49
I have a vehicle that will run a course through a series of gates. I want the vehicle to know when it has passed through a gate. The gates are phantom so a collision event doesn't occur. Any ideas how my vehicle can know when it has passed through a gate?
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
10-05-2006 00:31
This function is what you're after:
llVolumeDetect
_____________________
Tai Clifford
Registered User
Join date: 26 Jul 2006
Posts: 45
10-05-2006 00:49
From: Jillian Callahan
This function is what you're after:
llVolumeDetect

From what I can gather that would work for the gates to detect the vehicle, is that right? I was hoping for a way for the vehicle to detect the gates.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
10-05-2006 01:09
Well jsut get the gate to then tell the vehicle its been passed?
Tai Clifford
Registered User
Join date: 26 Jul 2006
Posts: 45
10-05-2006 02:13
From: Newgate Ludd
Well jsut get the gate to then tell the vehicle its been passed?

I was hoping to avoid using messages, but I guess it is the only way. Thanks Jillian and Newgate.
Rich Cordeaux
Registered User
Join date: 8 May 2006
Posts: 26
10-05-2006 08:48
Or if the gates all have the same name, use a sensor to detect them and determine your location relative to the gates.
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
10-05-2006 11:06
Messages are the best way. Just use llShout to be sure the car or whatever can't go out of range by the time the message executes (assuming fast vehicles and a laggy sim), and put the car's key into the message so it can confirm the message was for it and not another vehicle.
_____________________
Computer (Mac Pro):
2 x Quad Core 3.2ghz Xeon
10gb DDR2 800mhz FB-DIMMS
4 x 750gb, 32mb cache hard-drives (RAID-0/striped)
NVidia GeForce 8800GT (512mb)
Tai Clifford
Registered User
Join date: 26 Jul 2006
Posts: 45
10-06-2006 01:07
From: Haravikk Mistral
Messages are the best way. Just use llShout to be sure the car or whatever can't go out of range by the time the message executes (assuming fast vehicles and a laggy sim), and put the car's key into the message so it can confirm the message was for it and not another vehicle.

Thanks, I have followed your advise, putting the vehicles key and the gate number in the message. Works perfectly.