Blender Tutorial: Explosions 1
This tutorial demonstrates how to create the effect of real explosions in the Blender Game Engine.
Start Blend: ExplosionExample_start.blend
Finished Blend: ExplosionExample_finished.blend
Script: Explosion.py
Start Blend: ExplosionExample_start.blend
Finished Blend: ExplosionExample_finished.blend
Script: Explosion.py
Quick Instructions:
- Download & open ExplosionExample_start.blend.
- Add Explosion.py to the Text Editor.
-
In the script edit:
- property
- The property that an effected object must have.
Note:The property's name should be placed in quotes. Leave as None to just effect everything in
range.
- strength
- The strength of the bomb.
- range_of_explosion
- The radius of the explosion.
- objects_to_ignore
- A list of objects to ignore. Place all the object names in quotes in
square brakets. (eg. ["obj1", "obj2"] )
- vertical
- The vertical strength of the explosion.
- calculationType
- The way to calculate the explosion. Currently the script only supports
"linear" or "quad"
|
Click to login
Click to login