wiki:sns:snsscript:body_loads
Differences
This shows you the differences between two versions of the page.
| wiki:sns:snsscript:body_loads [2017/07/14 09:34] – created zach | wiki: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, | + | ===== boolSuccess = objSnSScript.SetBodyLoadRotational(GUID, |
| 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, | + | ===== boolSuccess = objSnSScript.SetBodyLoadAcceleration(GUID, |
| 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, | + | ===== boolSuccess = objSnSScript.SetGravity(GUID, |
| 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