|
Draxamus Eros
Registered User
Join date: 19 Nov 2006
Posts: 31
|
02-19-2008 23:38
How do I make an object move continuously side to side at 50 meters each way, and have it be able to detect collisions? Also how do I have the object go at the exact same speed as an avatar's run?
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
02-20-2008 00:26
I don't know the speed of an avatars run, but I'd guess that you want llMoveToTarget to move your object while still detecting collisions (presumably with non moving objects). you might want llVolumeDetect too so that the object isn't stopped by collisions.
you could use repeated llSetPos calls, on a timer, but collision detection would only apply to moving objects, although you could get rid of the volume detect and leave the object solid, it shouldn't have any problem detecting avs.
either way the event you'll like want to process from is collision_start
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|