pls help! Dummy/Helper animated on spline needs xyz Keys!!!!!

Hi all,

i am desperate! I have a dummy/helper animated over a spline. So there are two keys 0 and 100 percent on the spline. As i want to import that Dummy to Eyon Fusion (there is a camera attached) via FBX i guess i need to convert the animation to xyz coordinates in space. Because Fusion does not get the ani that is defined by the spline!
Is there some script or hidden tool in Max that will do that conversion?
Or is it a simple import/export failure that comes with FBX?

please pretty please i need that clue! :-)

all the best,
Michael

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anton Berg's picture

Are you trying to collapse

Are you trying to collapse an IK rig with animation on it?

just for tryout purpose. You could you please create a simple example of what you want to do and attach it here. Then It would be easier for us to know how to help you and be sure the script works.

OgmaSoul3D
Anton Berg
anton[at]os3d.se

Anton Berg's picture

here is a small code snippet

here is a small code snippet that takes the position from one object following a spline and pasting them to another object.
You could the copy the position controller from the new object to the old object if you want to replace the path controller. But I did not do that. Let me know if you need it.

----snippet start
--create dummy object to hold
--the position of your object
posObj = dummy name:(uniquename "FollowObj")
-- I have a test object called "box01"
yourObj = $box01
startFrame = 0
endFrame = 100
byFrame = 1 --set a keyframe for every frame

for i = startFrame to endFrame by byFrame do
(
with animate on
(
-- at time i, set the dummy position to your
--object position
at time i posobj.pos = yourObj.pos
)
)
-- if you want to you can use this little extra function
-- to reduce the amount of keframes so you only get
-- the ones nececcary..
reduceKeys posObj.pos.controller 0.5 1f
----end snippet

--- I have attached the code snippet to this post.

AttachmentSize
os3d - convert to position.ms 605 bytes

OgmaSoul3D
Anton Berg
anton[at]os3d.se

nycwtorres's picture

This def a step in the right

This def a step in the right direction. I do need the keys back on the original object ..but also need the rotation values too since some bones rotate but don't move.

Thanks!!

nycwtorres's picture

yeah but what is the

yeah but what is the maxscript for that process? I can't seem to find any. Is it common that 3ds Max has procedures that can't be done by maxscript?

Hani Tiby's picture

go to the motion panel>

go to the motion panel> trajectories
then in the collapse transform , choose which transforms you want to transfer then press collapse

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.