I feel kind of like a newb asking this, but i have this collision problem. I've been away from 3d a few months, doing 2d projects, and am a bit rusty.
I was wondering, how do you make a certain thing happen when two objects collide, asside from the options it gives you. Such as, if i were to make a bullet hit someone, how would i make it hurt them, and disapear?
I was thinking something like this:
But when i do something along the lines of this, i get an Expecting End Of Line error.
How would i do something like this? An if statement with the condition being a collision.
Thanks alot everyone!
-Kevin
I was wondering, how do you make a certain thing happen when two objects collide, asside from the options it gives you. Such as, if i were to make a bullet hit someone, how would i make it hurt them, and disapear?
I was thinking something like this:
If collisions Type_Player, Type_bullet,2,2 then hideentity bullet player\health = player\health - 1 endif
But when i do something along the lines of this, i get an Expecting End Of Line error.
How would i do something like this? An if statement with the condition being a collision.
Thanks alot everyone!
-Kevin