Hello!
First want to say that I’m a beginner in the 3d world, so probably I don’t have clear some basic concepts, but here comes my issue:
I’m creating a custom exporter in 3ds max for an external tool, using MAXScript language.
I would like to know how to get the 3x3 rotation matrix and position of each key frame of an animated target camera. I’m using this, but I always get: 1.0 0.0 0.0, 0.0 1.0 0.0, 0.0 0.0 1.0.
Here’s the code I’m using:
for i = 0 to endframe do
(
local TimeMatrixRotation = at time i Cams[1].target.rotation as matrix3;
local TimeCamPos = at time i Cams[1].pos;
)
It seems that gets the position correctly, but the rotation no.
What I’m doing wrong?