Collision Detection!!!
joey2e
Member Posts: 99
Hello all
I am working on my new game and having a little difficulty with collision detection in the following respect:
I have one actor (a bullet) which is spawned every 1 second and is travelling upward form the bottom of the screen at a speed of 300 on a move rule
The other actor (A plane) is controlled by a joystick and crossed the path of the moving bullets.
I have created a tag for the bullet
I have an attribute called PlayerLife which is an interger
I have incorporated the following rule in the plane
RULE:
When plane collides with bullet
then PlayerLife - 1
NOW my problem is the collision detection only work sometimes, other times it wont work at all.
Has anyone please got any suggestions?
Joe
I am working on my new game and having a little difficulty with collision detection in the following respect:
I have one actor (a bullet) which is spawned every 1 second and is travelling upward form the bottom of the screen at a speed of 300 on a move rule
The other actor (A plane) is controlled by a joystick and crossed the path of the moving bullets.
I have created a tag for the bullet
I have an attribute called PlayerLife which is an interger
I have incorporated the following rule in the plane
RULE:
When plane collides with bullet
then PlayerLife - 1
NOW my problem is the collision detection only work sometimes, other times it wont work at all.
Has anyone please got any suggestions?
Joe
Comments