View Full Version : Copy mov and rot from a frame
Peder 06-03-2003, 11:42 AM How to cop a move x,y,z och a rotation of an object from a frame.
ex:
I have a object on frame 20: x=10, y=-1.20, z=0
and I want to copy this xyz to a frame 30 for the same object.
| |
LFShade
06-03-2003, 02:59 PM
I'm assuming you need to do this with script, since you're posting in here. If you want to copy position:
at time 20 obj_pos = $.pos
at time 30 with animate on $.pos = obj_pos
or to copy rotation,
at time 20 obj_rot = $.rotation
at time 30 with animate on $.rotation = obj_rot
Peder
06-03-2003, 04:06 PM
Thanx, that was it, do you know how to copy attribut holder value too?
LFShade
06-03-2003, 04:14 PM
You mean like a custom attribute? You just call it as a property of the object:
at time 20 obj_attrib = $.some_attribute
at time 30 $.some_attribute = obj_attrib
CGTalk Moderation
01-15-2006, 08:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2009, Jelsoft Enterprises Ltd.