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