gamemaster
(gamemaster)
September 24, 2009, 6:53am
1
Hey,
I want a bullet to hit a object. When the bullet hit it, the bullet disappears and the object gets a prop - 1… The problem is that I add 3 of the same bullets that fly at the same moment, I can’t let them be disappeared one at a time. When I do a message to “bullet”, all the 3 bullets disappear.
Hope i’m clear enough
Thanks
I’m sorry, but bullets handling is really easier to do with python script…
with simple logic, you’ll soon face tough limitations.
…like this one you just found.
Try taking a look at “a byte of python”,
I tell you, programming in python is easier than it look.
one month of random blender python learning and you get 500% stronger with BGE.
worth it a lot
gamemaster
(gamemaster)
September 24, 2009, 10:10am
3
I am learning python for a while now. Can you direct me to a script for bullets please?
gamemaster
(gamemaster)
September 25, 2009, 12:49pm
4
Anyone help please? xD I won’t bite
cthames
(cthames)
September 25, 2009, 1:28pm
5
hi gamemaster,
Here’s one way to do it using logic bricks. The bullet is on layer 2. I attached a collision sensor and end object actuator to it.
Press the space bar to shoot the ‘gun’.
Clark
Attachments
gun_bullet.blend (158 KB)
gamemaster
(gamemaster)
September 25, 2009, 1:36pm
6
Damn sorry. Forgot to say… I can’t make the bullet dynamic.
gamemaster
(gamemaster)
September 25, 2009, 1:39pm
7
Argh, forgot to select the true level triggering xD sorry.
So it’s solved Thanks