Discuss this video at http://forum.irakrakow.com where you can network with other Blender 3D users.
Read the script for this video at:
http://blender3dvideos.blogspot.com/2010/01/249b-bge-animation-part-2.html
The purpose of this video is to compare animation in Blender 3D modeling with animation in the Blender Game Engine. The animation results are different because the BGE uses a different physics engine, Bullet Physics, than the 3D animation engine. As you will see, because the default frame rates are different, animations generated in the BGE are faster (60 frames per second) than in Blender 3D (25 frames per second). I will show how to visualize animations in both, how to synchronize the animations between the BGE and Blender 3D, and the basic visualization settings in the BGE that will let you fine tune your game animations.
I am using Blender 2.49b because, as far as I can tell, this is the only Blender version where you don't need Python scripting to synchronize the animations. Versions before 2.49 required you to have a Python script to set the default frame rate in the BGE. Blender 2.50, Alpha 0, has not fully implemented BGE animation yet. In 2.50 alpha 0, you can run a game and show visualizations, but you can't do animations in Blender 3D and have them show up in the BGE, or vice versa. Both of these can be done in 2.49b. I'll show you how to do both and why it's a good idea to be able to move smoothly back and forth between Blender 3D and the Blender BGE. So 2.49b seems to be the way to go if you want to do animation with the Blender Game Engine.
By the way, I have not seen this type of discussion anywhere, either as a video, in documentation, or in a book. The closest is Tony Mullen's book Bounce, Tumble, and Splash, which is an excellent introduction to Blender physics libraries such as the fluid simulator, soft bodies, cloth, boids, particles, and so on. However, he uses an older Blender version which needs a Python hack to synchronize the animation speeds between Blender 3D and the Blender BGE. My conclusions are the result of pure experimentation. If you have any comments on this, please join my Blender 3D forum at http://forum.irakrakow.com, and comment on this video.
im getting mad im starting to think blender is crap you it dont do what they say it dous there are not tutorials for alpha but the rest u can only do sertain things but then you cant do crap in alpha that u can the rest so in all you cant make a real game with it and you cant use it for just models via a game engine so ....
lllllsp1d3rlllll 2 years ago
If you want to make a game, you should use 2.49b, not 2.5 Alpha 0. There's a lot of interest in 2.50 Alpha 0 but it should come with a BIG warning label that things are subject to change and not all the features have been implemented yet. There's a tradeoff between what works now (2.49b) and where things are headed (2.5). I would suggest 2.49b for serious development and 2.5 Alpha 0 for playing around.
irakrakow 2 years ago
Thx for quick response :~) I wish to be able to move L/R with mouse MOVEMENT, however, as I also wish to be able to move forward by holding BOTH right/left buttons. I can get movement EITHER to L OR R with mouse MOVEMENT, while holding both buttons, but not both. I will detail my logic setup in your forum ( which I appreciate), and which allows more space, lol.
Mrinfinitewave 2 years ago
How about changing the OR controller to an AND? Hook up Left Mouse and Right Mouse sensors to the same controller. That way, you would need to have both mouse buttons active to do the movement.
irakrakow 2 years ago
Excellent tut. Clear, concise, & containing a significant dose of knowledge. Thx so much for sharing/helping/nourishing the community! A little off-topic ? (sorta)...any idea how to allow a character to move left OR right with mouse movement, while simultaneously holding left and right click buttons (which I have set to enable forward movement of character)? I can get EITHER left OR right movement (by moving mouse) while holding L/R clickers at same time, but not both. Thx again for tuts!!!
Mrinfinitewave 2 years ago
You need to create two sets of logic bricks. Use the Mouse sensor, select Left Button, program the left movement. The second Mouse sensor, select Right Button, program the right movement. Wire them up, associate with an OR controller. This will be a video tutorial, coming soon. Also, it's worth posting on my Blender 3D forum because I'm sure others want to know.
irakrakow 2 years ago