Difference between revisions of "LlSetVelocity"

From Second Life Wiki
Jump to navigation Jump to search
(creating page for posterity)
 
m
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|inject-2={{LSL_Function/force|force|local=local}}{{LSL_Function/physical}}
|func=llSetVelocity
|func=llSetVelocity
|func_id=???|func_sleep=0.0|func_energy=???
|func_id=???|func_sleep=0.0|func_energy=???
|p1_type=vector
|p1_type=vector|p1_name=force
|p1_name=force
|p2_type=integer|p2_name=local
|p2_type=integer
|p2_name=local
|p2_hover=boolean, if TRUE, force is treated as a local directional vector instead of region directional vector.
|p2_desc=boolean, if [[TRUE]], '''force''' is treated as a [[Viewer coordinate frames#Local|local]] directional vector instead of [[Viewer coordinate frames#Region|region]] directional vector.
|func_footnote=Instantaneous velocity not dependent on object energy or mass. [[llSetForce]] has continuous push.
|func_footnote=Instantaneous velocity not dependent on object energy or mass. [[llSetForce]] has continuous push.
|func_desc=Applies velocity to object
|func_desc=Applies velocity to object
|return_text|spec
|return_text|spec
|caveats=*Object must be physical.
|caveats=
|examples=
|examples=
|helpers
|helpers

Revision as of 12:23, 10 June 2012

Summary

Function: llSetVelocity( vector force, integer local );

Applies velocity to object

• vector force
• integer local boolean, if TRUE force is treated as a local directional vector, if FALSE force is treated as a region directional vector

Instantaneous velocity not dependent on object energy or mass. llSetForce has continuous push.

Caveats

Examples

See Also

Functions

•  llSetAngularVelocity
•  llSetForce Set continuous force

Deep Notes

Signature

function void llSetVelocity( vector force, integer local );