GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Need Help With Collision

conrad74conrad74 Posts: 50Member
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 Posts: 620Member
    Hahaha. U always seem to have a video at hand tshirtbooth :)
  • EmrysEmrys Posts: 38Member
    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 Posts: 38Member
    Also support page might have what you want

    http://gamesalad.com/wiki/how_tos:gsc_follow_another_actor
  • conrad74conrad74 Posts: 50Member
    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



This discussion has been closed.