Difference between revisions of "LlSetVelocity"

From Second Life Wiki
Jump to navigation Jump to search
(creating page for posterity)
 
(Rename argument, removing confusing references to force)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|inject-2={{LSL_Function/velocity|velocity|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=velocity
|p1_name=force
|p2_type=integer|p2_subtype=boolean|p2_name=local
|p2_type=integer
|func_footnote=Instantaneous velocity not dependent on object energy or mass.
|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_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
|also_functions=
|also_functions=
{{LSL DefineRow||[[llSetAngularVelocity]]|}}
{{LSL DefineRow||[[llSetAngularVelocity]]|}}
{{LSL DefineRow||[[llSetForce]]|Set continuous force}}
{{LSL DefineRow||[[llApplyImpulse]]}}
|notes
|notes
|cat1=Physics
|cat1=Physics
Line 22: Line 19:
|cat3
|cat3
|cat4
|cat4
|history = Date of Release  [[ Release_Notes/Second_Life_Server/11#11.08.10.238207 | 10/08/2011 ]]
}}
}}

Latest revision as of 15:43, 12 September 2019