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