Encouraged by this thread:
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=8373&highlight= [sidefx.com]
I try to ask one of my all-time-favorite questions:
If I want to use quaternions in expressions:
Do I need to use matrix values instead?
Background:
I want to sum up quaternion rotations and extract XYZ and the angle to use them in transformAxisSOP.
Georg
matrix vs quaternion?
4303 2 0- rdg
- Member
- 401 posts
- Joined:
- Offline
- wolfwood
- Member
- 4261 posts
- Joined: July 2005
- Offline
The expression language lacks any real tools for dealing with quaternions. You can always write your own custom expressions but this can be a pain. VEX has better support for quaternions so you could always do your math there then fetch the result using the point() expression.
if(coffees<2,round(float),float)
- rdg
- Member
- 401 posts
- Joined:
- Offline
-
- Quick Links