Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How to fix the forces caused by touch.

Areth Gall
Registered User
Join date: 9 Jan 2006
Posts: 40
07-16-2006 16:02
Alright, I've been trying to script a physical and phantom object via vehicle commands. The object works by when you 'touch' a button, it goes to the designated coordinates by applying a linear motor that takes you to your destination.
The only problem is that when I touch one of the buttons, the touch causes a force on the object that causes it to go off if it's trajectory and miss it's target.
I have the llSetStatus(STATUS_BLOCK_GRAB, TRUE); sat, but the touch_start and touch_end functions still produce momentum.

The vehicle worked fine until the touch commands were added in, so that is why I believe that the touch commands are responsible for this problem.
Targets are already in use, so unless llMoveToTarget doesn't interfere with this, it cannot be used.
If there is a way to nullify the drift caused?
Any help would be appreciated.
Gaius Goodliffe
Dreamsmith
Join date: 15 Jan 2006
Posts: 116
07-17-2006 20:42
From: Areth Gall
I have the llSetStatus(STATUS_BLOCK_GRAB, TRUE); sat, but the touch_start and touch_end functions still produce momentum.

Did you do this for every prim, or just one call in the root prim's script? Each prim needs to have a script in it set block grab or grabbing still occurs.