I’m in the process of writing a string simulator for Blender here. I’m prototyping in Python. I have never dealt with IPO’s through Python before (and my Python is a little rusty too)
All I want to do is set keyframes for an object from the simulator. I would like the set the LocX, LocY and LocZ values then set the keyframe. I’ve looked in the API and on elysiun but I can’t seem to get it working.
The reason is I can no longer just keep pressing Alt + P to see what is happening as I need to store values from the first frame .
Say my object is called “Sphere”. Could anyone be kind enough to give a quick code snippet how to do this?