Copy mov and rot from a frame

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  06 June 2003
Copy mov and rot from a frame

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.
 
  06 June 2003
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
__________________
Got Maxscript?
RHTools

Last edited by LFShade : 06 June 2003 at 03:03 PM.
 
  06 June 2003
Thanx, that was it, do you know how to copy attribut holder value too?
 
  06 June 2003
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
__________________
Got Maxscript?
RHTools
 
  01 January 2006
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 02:30 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.