Well as you may or may not know, I have pretty much stopped working on other projects save for my shell because I really want to get this wizard that i'm writing to work.
Plasma apparently uses IPO curves to animate objects.
The wizard when run, will take the selected 3D curve and produce 2D Interpolation curves, in the IPO window bezier curves are pretty much the standard for smooth curves.
While I have the points in the 3D curve plotted into the IPO window, I have a problem with the Y-Axis bezier handles in that they are not uniform with the X and Z axes handles, even though the code is the same.
Could someone please help, this is sending me bonkers.
BTW I am only tackling locations of the knots (and handles of those knots) on the curve not rotation as I have little idea of how to do that.
The code I have is available on the SVN but under a different partition to that of GoW-PyPrp
http://svn.guildofwriters.com/Curve2IPO
or just extract this zip file to the Blender scripts directory the same as you'd do for PyPrp
To execute the script first you need to make a 3D bezier curve
Make one window a scripts window
Select Scripts -> Wizards -> Curve2IPO
Make sure that you have the curve selected in object mode before you start or you could get strange results
Change the window to IPO curve editor and use the drop down box to see the curves.
Just for testing add to your scene an empty, then open the "Transform Properties" window in the 3D window, and with the Empty selected, make all locations and rotations to zero
Add a constraint to the Empty of "Childof" and enter the name of the Curve in the box.
Continuing with the Empty still selected in object mode, go to the IPO curve editor and use the drop down box to select the generated IPO curves from the 3D curve you just made.
Look in top down (numpad key 7) and compare with side and front (numpad 1 and 3) and use the cursor keys to play the animation forwards and backwards to see what i'm talking about witht he handles of the 3D curve in the yAxis not matching those in the IPO curve Editor
If you want to see the animation in game just add in the AlcScript for the animation, and put in object(s) relative to the WORLD origin and add constraints to each of "Childof" and enter the name of the Empty in the box
Me thinks I need to make a tutorial on how to do this to save myself from typing it all out each time.