Lets learn Quaternion which is vector4 representing a unit for angle and a normalized axis. The ?angle? is specified in radians.Quaternion for orient
TEAMVFX Houdini training
One and only academy to learn programming for VFX & CGI. C++, PYTHON, VEX. Visit https://teamvfx.in Call +91 9123777600
float angle=(rand(@ptnum)-.5);
vector axis=set(angle*.82,angle*1.14,angle*-1.3);
@orient=quaternion((angle*360+@ptnum)+@Time,axis)
Join us to learn Houdini FX with VEX and get your dream job, New batches are starting now. Visit us today https://teamvfx.in