|
ee Oh
Registered User
Join date: 23 May 2007
Posts: 17
|
07-31-2007 08:23
hi all..
i would like to stop smoothly a spin of an object setted physical.. like this for translation, "llApplyImpulse((-llGetMass()*llGetVel())/10,FALSE)"
but applied to rotation..
i tryed many.. nothing works well..
"llSetTorque(-llGetOmega()*.5, TRUE/FALSE)" was an idea but it doesn t work.. with llRotLookAt but i couldn t make a smooth stop, setted diff forces and damps, the result was near the same for all settings.. it stop too fast after half a sec..
what do i wrong?
|
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
07-31-2007 09:35
Did you look at llApplyRotationalImpulse() ?
|
|
ee Oh
Registered User
Join date: 23 May 2007
Posts: 17
|
07-31-2007 10:29
well.. yes.. but it doesn t work too..
|
|
ee Oh
Registered User
Join date: 23 May 2007
Posts: 17
|
07-31-2007 10:30
well.. yes.. but it doesn t work too..
why is something like this not ok?? "llSetTorque(-llGetOmega()*.5, TRUE/FALSE)"
|