Difference between revisions of "LlSetVelocity"

From Second Life Wiki
Jump to: navigation, search
m
(Rename argument, removing confusing references to force)
 
Line 1: Line 1:
 
{{LSL_Function
 
{{LSL_Function
|inject-2={{LSL_Function/force|force|local=local}}{{LSL_Function/physical}}
+
|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_name=force
+
|p1_type=vector|p1_name=velocity
 
|p2_type=integer|p2_subtype=boolean|p2_name=local
 
|p2_type=integer|p2_subtype=boolean|p2_name=local
|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.
 
|func_desc=Applies velocity to object
 
|func_desc=Applies velocity to object
 
|return_text|spec
 
|return_text|spec
Line 13: Line 13:
 
|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

Latest revision as of 16:43, 12 September 2019

Summary

Function: llSetVelocity( vector velocity, integer local );

Applies velocity to object

• vector velocity
• integer local

Instantaneous velocity not dependent on object energy or mass.

Caveats

Examples

See Also

Functions

•  llSetAngularVelocity
•  llApplyImpulse

Deep Notes

History

Date of Release 10/08/2011

Search JIRA for related Issues

Signature

function void llSetVelocity( vector velocity, integer local );