Difference between revisions of "User talk:Kimm Paulino/Scripts1"

From Second Life Wiki
Jump to navigation Jump to search
m (Suggestion)
 
m
Line 2: Line 2:


Your non-physical move and rotate script is jerky because you're using llSetPos() which has a built-in delay of 0.2 secs.   
Your non-physical move and rotate script is jerky because you're using llSetPos() which has a built-in delay of 0.2 secs.   
Add that to the 0.1 sec of your timer, and you're only moving your prim every 0.3 second.


Replacing the llSetPos() with this line makes it much smoother:-
Replacing the llSetPos() with this line makes it much smoother:-

Revision as of 02:24, 29 December 2012

Hello Kimm,

Your non-physical move and rotate script is jerky because you're using llSetPos() which has a built-in delay of 0.2 secs.

Replacing the llSetPos() with this line makes it much smoother:-

       llSetLinkPrimitiveParamsFast ( LINK_THIS, [PRIM_POSITION, gCurrentPosition] );

Omei Qunhua 17:45, 28 December 2012 (PST)