ball.euler
Syntax
- v = ball.euler(bp) (3D ONLY)
- ball.euler(bp) = v (3D ONLY)
Get/set the ball orientation. The convention \(\big\{X,Y^{'},Z^{''}\big\}\) is used (i.e., the \(x\)-, \(y\)-, and \(z\)-components correspond to the sequential rotations about the \(X\), \(Y^{'}\), and \(Z^{''}\) axes).
Note
The orientation is updated when orientation tracking is enabled (see the
model orientation-tracking
command).
Component Access
f = ball.euler
(bp)->x
ball.euler
(bp)->x
= f
Access other vector components (\(y\), \(z\)) by substituting the component name where \(x\) appears above. See Member Access Operator for information about accessing members from data types using ->
.
Deprecated Component Access
Component access by adding an optional integer in the function arguments (e.g., f = ball.euler(bp,3)
) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 14, 2024 |