get the P.x (only x) in vex like in the expression.
4807 1 0-
- 6cbb21962a714a9da449b4910
- Member
- 5 posts
- Joined: Nov. 2018
- Offline
-
- tamte
- Member
- 9420 posts
- Joined: July 2007
- Offline
you either do:
or
or if it's really just the first component (x) that you want to get you can as well do
vector P = point(0, "P", @ptnum); float Px = P.x;
or
float Px = vector(point(0, "P", @ptnum)).x;
or if it's really just the first component (x) that you want to get you can as well do
float Px = point(0, "P", @ptnum);
Edited by tamte - Nov. 12, 2018 13:57:04
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- Quick Links

