User Tools

Site Tools


wiki:sns:snsscript:body_loads

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:sns:snsscript:body_loads [2017/07/14 09:34] – created zachwiki:sns:snsscript:body_loads [2017/07/14 13:50] (current) claire
Line 1: Line 1:
-===== Body Loads Specification =====+~~NOTOC~~ 
 +====== Body Loads Specification ======
  
-==== boolSuccess = objSnSScript.SetBodyLoadRotational(GUID, LoadDescription, AngularVelocity, AngularAcceleration, Origin, Direction) ====+===== boolSuccess = objSnSScript.SetBodyLoadRotational(GUID, LoadDescription, AngularVelocity, AngularAcceleration, Origin, Direction) =====
  
 This function puts a rotational body load on the object. Equivalent to a Body Load Rotational in SnS. This function puts a rotational body load on the object. Equivalent to a Body Load Rotational in SnS.
Line 15: Line 16:
 |Boolean|True if the load was successfully added to the object, False otherwise.| |Boolean|True if the load was successfully added to the object, False otherwise.|
  
-==== boolSuccess = objSnSScript.SetBodyLoadAcceleration(GUID, LoadDescription, LinearAcceleration) ====+===== boolSuccess = objSnSScript.SetBodyLoadAcceleration(GUID, LoadDescription, LinearAcceleration) =====
  
 This function puts a linear acceleration load on the object. Equivalent to a Body Load Linear Acceleration in SnS. This function puts a linear acceleration load on the object. Equivalent to a Body Load Linear Acceleration in SnS.
Line 26: Line 27:
 |Boolean|True if the load was successfully added to the object, False otherwise.| |Boolean|True if the load was successfully added to the object, False otherwise.|
  
-==== boolSuccess = objSnSScript.SetGravity(GUID, Gravity) ====+===== boolSuccess = objSnSScript.SetGravity(GUID, Gravity) =====
  
 Toggles gravity on or off. Equivalent to the Gravity checkbox in SnS. Toggles gravity on or off. Equivalent to the Gravity checkbox in SnS.
wiki/sns/snsscript/body_loads.1500046465.txt.gz · Last modified: 2017/07/14 09:34 by zach