Collision Detection!!!

joey2ejoey2e Member Posts: 99
edited November -1 in Working with GS (Mac)
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

Comments

  • AsymptoteellAsymptoteell Member Posts: 1,362
    One thing I recently learned is that at least one actor needs to be moving for collide and collision detection to work.
Sign In or Register to comment.