Forum: Blender


Subject: Animating Locgic Parameters In Game Engine

Enivob opened this issue on Aug 25, 2006 · 4 posts


Enivob posted Fri, 25 August 2006 at 12:09 PM

Hi All,

Just wondering if anyone knows how to animate the parameters in the game engine?

I have a ball that is an actor. I have set up a sensor, controller and actuator for the ball. It rolls along the plane via it's force in the Y direction specified in the actuator.

What I want to do is to animate that Y direction parameter so the pulse is only there for a few frames. Can this be done? I tried turning on the animate button in the time line and setting keys, but it does not seem to record my changes.

 

Thanks


haloedrain posted Sat, 26 August 2006 at 7:26 PM

This may sound like a dumb question, but when you're setting keyframes are you using the "i" key?  I've got this habit of assuming they're set automatically for me whenever I change parameters on a given frame, then I go back and see that all the frames I thought I'd set are the same as the last one and realize that I didn't tell it to save the parameters with the i menu.

But that may just be me, in which case I dunno, I haven't used the game engine much.


Enivob posted Sun, 27 August 2006 at 10:39 AM

I just discovered that key today while reading the HTML I docs.

Thanks, I was not.

I ended up hooking a keyboard arrow to my parameter, then turned on the game engine and simply played the simulation "live" (by pressing keys) to generate the keyframes in the Auto Record IPO while the simulation was running.


haloedrain posted Sun, 27 August 2006 at 12:00 PM

So it's working now?  Hooray!  Your solution sounds interesting too, I may ask you about it in more detail if I ever have time to work with the game engine (darn school gets in the way of all the fun stuff ;) )