Difference between revisions of "LlSetForceAndTorque"

From Second Life Wiki
Jump to: navigation, search
m
Line 5: Line 5:
 
|func=llSetForceAndTorque
 
|func=llSetForceAndTorque
 
|p1_type=vector|p1_name=force|p1_desc=directional force
 
|p1_type=vector|p1_name=force|p1_desc=directional force
|p2_type=vector|p2_name=torque|p3_desc=torque force
+
|p2_type=vector|p2_name=torque|p2_desc=torque force
 
|p3_type=integer|p3_name=local|p3_desc=boolean, if {{LSLG|TRUE}} uses [[Viewer coordinate frames#Local|local]] axis, if {{LSLG|FALSE}} uses [[Viewer coordinate frames#Region|region]] axis.
 
|p3_type=integer|p3_name=local|p3_desc=boolean, if {{LSLG|TRUE}} uses [[Viewer coordinate frames#Local|local]] axis, if {{LSLG|FALSE}} uses [[Viewer coordinate frames#Region|region]] axis.
 
|func_desc=Sets the force and torque of object (if the script is physical)
 
|func_desc=Sets the force and torque of object (if the script is physical)

Revision as of 01:38, 9 May 2010

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 torque force
• integer local boolean, if TRUE uses local axis, if FALSE uses region axis.

Examples

See Also

Functions

•  llSetForce
•  llSetTorque

Deep Notes

Search JIRA for related Issues

Signature

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