Detecting collision only on the left of an actor

steeler0038steeler0038 Member Posts: 153
edited November -1 in Working with GS (Mac)
I want my object to only detect a collision on the left side of it. How can i do this?

Comments

  • SamXOOO7SamXOOO7 Member Posts: 47
    The only way I can think of is to constrain your actor to a thin line type actor right inside on the left of the actors position. And then just set the normal collision actor to the line.
  • steeler0038steeler0038 Member Posts: 153
    thank you sam... i was thinking something of the same thing
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    or in the other actors it's colliding with you could have a rule that says if self.position.X is < x of other actor (make this a game attribute) collide with other actor.
  • micksolomicksolo Member Posts: 264
    I really hope that custom size collision boxes are something they implement soon - seems like so many people need it and the workarounds can sometimes be painful, particularly if you're rotating actors and moving them on the y plane.
Sign In or Register to comment.