How to make an actor half of its body is use for another purpose?

You guys might not understand what did i say.For example,a rocket is flying towards a player, when the player jumpson it nothing will happen but when the actor hits the front part of the rocket the player will die.Any tips?

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    edited September 2015

    There are many ways to do this, but a quick and easy way would be to constrain a 'detector' onto the front of the rocket.

    So you have your main actor, the rocker, and then you have a smaller actor (the 'detector ') constrained to the rocket - the player character has a rule that says when it collides with this 'detector' it will die.

    The 'detector' actor is invisible, so you don't see it.

  • Flames.InovationFlames.Inovation Member Posts: 16

    May i know how to constrain a detector onto the actor? The detector can move with the rocket?

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

  • SocksSocks London, UK.Member Posts: 12,822
    edited September 2015

    @Flames.Inovation said:
    May i know how to constrain a detector onto the actor? The detector can move with the rocket?

    See Lost_Oasis' video above, plus check out this link:

    http://forums.gamesalad.com/discussion/75220/fast-constrain-linkmachine-v2

  • Flames.InovationFlames.Inovation Member Posts: 16

    Thanks guys...Now, i already know how to constrain attribute.Much appreciated

Sign In or Register to comment.