ball.force.contact
Syntax
Vector Access
- v = ball.force.contact(bp<,i>)
- ball.force.contact(bp<,i>) = v
Get/set the ball contact force.
The contact force vector is defined as the sum of the contact force vectors acting on the ball and is updated during force-displacement calculation.
Returns: v - contact force vector or component
Accepts: v - contact force vector or component
Arguments: bp - ball pointer
i - optional vector component
Component Access
- f = ball.force.contact.x(bp)
- ball.force.contact.x(bp) = f
Get/set the x-component of the ball contact force.
Returns: f - x-component of the ball contact force vector Accepts: f - x-component of the ball contact force vector Arguments: bp - ball pointer
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |