Specially I like the real-time trajectory one :o because I asked for this feature many time ago.
In conjuntion with the show_keyframes (K key) it´s an invaluable tool for tweaking animations (specially on character animation).
Is posible to do an update when the object is moved?
Is posible to show the trajectories of severals selected objects?
Thank you very much!
P.D: I sugest to change the initial subject of the post so more users can be interested in the otrer scripts
If when you lanch the script some objects are selected, their trajectory will be shown all the time.
The trajectory is now white when current frame isn’t the frame of a ipo key for the object. Then changement on the object haven’t influence.
However, if current frame is a the frame of a animation key for object, trajectory becomes red and you can move your object and trajectory will follow . It isn’t necessary to use I-key to fix the trajectory (it is automaticly made).
If the trajectory is white but you want to be able to move your object, just add a key with I-key >> loc.
The script Trajectory.py can be put in the directory .script/. User will only see the asking of Futur and Past settings.
Merci I’m very happy to see my scripts in this list.
I’m working to make the script support Parents of objects. It can be usefull %|
The problem is that when an object is parented, to keep the same animation that before parenting, Blender take as matrix of base that of parent’s current position.
But finally, after hours of work, I’ve found how to get it : if ‘child’ is the child object, the quickest is to get :
So now in few hours I think I’ll be able to release a good version.
Now it supports parenting. It wasn’t easy to make the code because IPO’s values are global values if the parent object is in the position he had when parenting was made. It allow to keep position of child after parenting without modify ipo.
Consequently size of script doubled but it’s very interesting to see modifications of moving of parent on trajectory of childs
I also add the possiblity to modify only an IPO curve if there is only a keyframe for that curve. For exemple if you have only add a LocX Ipo curve manualy, when current frame is one frame key for LocX curve, you can modify trajectory on X axis.
To see when we can modify one, two or three curve, trajectory is more or less red.
What about to be able to modify also Rotation by the same way (when a keyframe already exists, pass in mode autokeyframe)?
Thanks you for comments.
New version for trajectory (always same link):
color for trajectory is now blue when trajectory can’t be modifiied.
corrected a size bug for parenting objects
Caronte, I think it would be difficult to erase CTRL+Z with a script : even if script is link by Redraw to scene, I think that Blender’s commands are executed before execution of script.
(In 2.37a I have no bug with Ctrl+Z outside of edit mode. I’ll try recent builds)