Difference between revisions of "LlSetForceAndTorque"

From Second Life Wiki
Jump to: navigation, search
Line 4: Line 4:
 
|func_energy=10.0
 
|func_energy=10.0
 
|func=llSetForceAndTorque
 
|func=llSetForceAndTorque
|p1_type=vector
+
|p1_type=vector|p1_name=force|p1_desc=directional force
|p1_name=force
+
|p2_type=vector|p2_name=torque|p3_desc=torque force
|p2_type=vector
+
|p3_type=integer|p3_name=local|p3_desc=boolean, if [[TRUE]], then in local coordinates
|p2_name=torque
+
|func_desc=Sets the force and torque of object (if the script is physical)
|p3_type=integer
+
|spec
|p3_name=local
+
|caveats
|func_desc=sets the force and torque of object, in local coords if local == TRUE (if the script is physical)
+
|constants
|}}
+
|examples
[[Category:LSL Functions|Set Force and Torque]]
+
|helpers
[[Category:LSL Stub]]
+
|also_functions={{{!}}
 +
{{LSL DefineRow||[[llSetForce]]|}}
 +
{{LSL DefineRow||[[llSetTorque]]|}}
 +
{{!}}}
 +
|also_tests
 +
|also_events
 +
|also_articles
 +
|notes
 +
|cat1=Physics
 +
|cat2=Movement
 +
|cat3
 +
|cat4
 +
}}

Revision as of 19:15, 21 February 2007

Summary

Function: llSetForceAndTorque( vector force, vector torque, integer local );

Sets the force and torque of object (if the script is physical)

• vector force directional force
• vector torque
• integer local boolean, if TRUE, then in local coordinates

Examples

See Also

Functions

•  llSetForce
•  llSetTorque

Deep Notes

Search JIRA for related Issues

Signature

function void llSetForceAndTorque( vector force, vector torque, integer local );