ball.moment.contact
Syntax
Vector Access
- v = ball.moment.contact(b<,i>)
- ball.moment.contact(b<,i>) = v
Get/set the ball contact moment.
Returns: v - ball contact moment vector or component
Accepts: v - ball contact moment vector or component
Arguments: b - ball pointer
i - Optional vector component that ranges from {3 to 3 in 2D; 1 to 3 in 3D}.
Component Access
- f = ball.moment.contact.x(b) (3D ONLY)
- ball.moment.contact.x(b) = f (3D ONLY)
Get/set the x-component of the ball contact moment.
Returns: f - x-component of the ball contact moment vector Accepts: f - x-component of the ball contact moment vector Arguments: b - ball pointer
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |