Need Help With Collision

conrad74conrad74 Member Posts: 50
edited November -1 in Working with GS (Mac)
I want the head of my actor to be the only part of the body that detects a collision with another object. The actor is constantly moving so the collision for the head needs to be moving with the actor. How do I go about doing this?

Anybody have a better solution? Thanks!!!!

Comments

  • dmilinovichiiidmilinovichiii Member Posts: 620
    Hahaha. U always seem to have a video at hand tshirtbooth :)
  • EmrysEmrys Member Posts: 38
    I linked my main actor to a smaller invisible actor that has the collision rules.

    There was a forum example of making one actor follow another, I will see if I can find it again.

    Basically create two attributes in the scene:
    TargetX, and TargetY

    Then have one actor modify that attribute to be the same as it's X & Y

    Then make the other actor modify its own attribute to be the same as the Target attributes.

    Worked for me. So far ... ;) But I'm still a total newb.
  • EmrysEmrys Member Posts: 38
    Also support page might have what you want

    http://gamesalad.com/wiki/how_tos:gsc_follow_another_actor
  • conrad74conrad74 Member Posts: 50
    This video is exactly what I am looking for. Brings up another question. Is there a way to destroy the "player actor" with the "head collision detection?" For example: if a bullet hits the"head," destroy "the player." ??? Thank!
    tshirtbooth said:
    i have a video for that



Sign In or Register to comment.