How do you get a premade animation to play with a button push in the GE. For example, I have animated a walkcycle, and would like to use it in a game I am making. However, I’m unsure how to set that up. Any help would be appreciated.
How do you get a premade animation to play with a button push in the GE. For example, I have animated a walkcycle, and would like to use it in a game I am making. However, I’m unsure how to set that up. Any help would be appreciated.
View the Sticky: Games/Demos/Tutorial list Dec 29 2006 on this section.
Next time first search than ask, good luck
Wessx
Hospitality? Fraternity?
Welcome to the wonderful? world of Game Blender!
One of the ways is:
You do your animation, ex: “walk” Frame 1 to 20
You make a button object
Then you add a Mouse over Sensor -> AND -> ACTION Actuator- Play- Name of action- Frame Sta1 - End 20 ( only available when an armature exists)
Do the magic P key
Now when your mouse passes over the object your animation should start
Bye