global.gravity
Syntax
Vector Access
- v = global.gravity(<i>)
- global.gravity(<i>) = v
Get/set the gravity.
Returns: v - gravity vector or component Accepts: v - gravity vector or component Arguments: i - optional vector component
Component Access
- f = global.gravity.x()
- global.gravity.x() = f
Get/set the \(x\)-component of the gravity.
Returns: f - \(x\)-component of the gravity vector Accepts: f - \(x\)-component of the gravity vector
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |