Topic: Bullets using translate
Heres an example on how to shoot a bullet with only translate
NOTE : Lookat Behavior is used, to make the zombie walk toward the player
- Z,Q,S,D Keys to move
- Left Click to shoot
- When hit count is 10, door open/close (indeed, its completely useless)
The example have sounds (Ambiant, gun shot, zombie hit) except for the door
I let the white box visible (Bullets are shot from its position)
NOTE : Theres a problem with it when rotating mouse, i update when i find whats wrong
And the "bullets"
Project : http://dl.dropbox.com/u/19970067/Marati
Bullet.rar
LUA Script alone : http://dl.dropbox.com/u/19970067/Marati
Bullet.lua