how can i make a character break a block is it possible

I want my character to break a block only when you colide with head is it possible

Comments

  • ADSentertainmentADSentertainment Member Posts: 397
    As in if the block hits the head of your character? If that's what you're going for, make an actor that constrains it's X and Y attributes to the X and Y of the head of your character. That will be it's "Collision Mask" make sure to set it's alpha to 0 so it can't be seen when playing it. Then make it so when the block overlaps or collides with the Collision mask, that it will be destroyed. I'm sorry if you weren't able to follow that, and I can make you an example if it's needed.

    Having trouble with your game? Sounds like a personal problem.

  • dwibredwibre Member Posts: 192
    @ADSentertainment is correct this is how I did it in my game. Look out for it at about the 1min mark in my trailer
  • pipepipe Member Posts: 54
    edited June 2013
    I like your game
  • ADSentertainmentADSentertainment Member Posts: 397
    @ADSentertainment is correct this is how I did it in my game. Look out for it at about the 1min mark in my trailer
    What if he hits the brick with the side of his head?

    Having trouble with your game? Sounds like a personal problem.

Sign In or Register to comment.