CompuServe Messages

#XYZ to vector/angle?

    21-Apr-95 20:08:42
Sb: #XYZ to vector/angle?
Fm: Mechadeus 71052,1575
To: all
Everyone, I'm working on a script which will load motion capture info and attach it to mesh in the KF. My question is embedded in the script below. Pardon my possible ignorance… this is my first attempt with the scripter. ——————————- DefPosition tran DefRotate rot tran = 0 rot = 0 open "o:\scene5b.dat", INPUT, #1 for j = 1 to 1000 tran.time = j rot.time = j input #1, node, tran.x, tran.y, tran.z, rot.x, rot.y, rot.z ; this is the motion capture format. ; why doesn't keyscript like rot.x? how do i translate absolute angular ; rotation ( x, y, z rotation ) to vector/angle rotation ( 3dstudio )? CreateKey node, tran CreateKey node, rot next j ——————————- Thanks in advance! Todd Mechadeus