Gibbz
01-11-2009, 11:55 PM
Im trying to get the transform of my object at certain times along the animation. Im trying to use the following code
mWorldMatrix = (mCamera.transform at time 1)
However this works fine in the console, but in my script it errors saying
-- Syntax error: at ), expected <factor>
-- In line: mWorldMatrix = (mCamera.transform at time 1)
and if i dont use the brakets it works, but it only get the transform, and ignores the at time 1 part :(
mWorldMatrix = (mCamera.transform at time 1)
However this works fine in the console, but in my script it errors saying
-- Syntax error: at ), expected <factor>
-- In line: mWorldMatrix = (mCamera.transform at time 1)
and if i dont use the brakets it works, but it only get the transform, and ignores the at time 1 part :(
