calculation collision point

gazjmgazjm Member Posts: 578
edited November -1 in Working with GS (Mac)
Hi,

Im having a problem where by i need to detect when an actor collides with another, but I can't use overlap or collide because i'm using instances of an actor. I created a rule to detect when the actor xy = the other actor xy, but this obviously doesn't work when the collision isn't right on the centre.

I also tried setting rules for when x + 10 and y +10 etc but due to the actor coming in from random angles it doesn't work. Is my only way to create individual actors rather than instances?

Thanks

Comments

  • gazjmgazjm Member Posts: 578
    thanks for that, I will give it a go! I'm rubbish at knowing what the equation functions are, only just started using vector to angle! this will help lots with my current game.

    Cheers
  • ORBZORBZ Member Posts: 1,304
    I'm not clear why you can't use overlap or collide?

    Have u tried tags?
  • gazjmgazjm Member Posts: 578
    yes, that was my workaround using a different tag for each instance. I was after a quicker way, in the end I have used a mixture of tags and magnitude. Now I know how to use magnitude i've been able to dump lots of code out the game.
Sign In or Register to comment.