Ipo in a script

Hi guys, me here again! :3

is there a way i could do this from a script:

creating a mesh (cuold be the default cube, it doenst matter)
press the I key while the cube is selected
select “locRot”
advance some frames of that object
rotate the cube with R some degrees
press again the I key
and select “locRot”

This creates an IPO that rotates the cube.

But i need to do this from a script!!!


halp? :slight_smile:



I do not think you can change IPO curves in the GE.
But you can set the motion and rotation of an object (with the motion actuator).