Ricocheting Object Problem

0 favourites
  • 3 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Hello all,

    Alright I am not sure whats up and I can't figure this problem out.

    So what I want, is when a particular variable is set to true, I want bullets to bounce off of certain things they collide with. This worked perfectly fine when I had wooden walls, trees, and tall furniture - it bounced off all of these no issues. Then I added brick walls into the mix, and now the bullets wont bounce off the brick walls OR the wood walls at all, but still bounce off of trees and tall furniture. I included a screenshot of the events - the two highlighted in blue work, the two in red don't (though the wooden walls did before I made the change and added brick walls). The only thing other than adding the brick wall that I changed was I put both the wooden wall and brick wall into a family, but that shouldn't matter because I am not attempting to use a family in the event, just the objects themselves.

    <img src="http://img696.imageshack.us/img696/6859/whyyyy.png" border="0" />

    Any help is appreciated. Thank you!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • What if you remove the family that you added Brickwall and WoodenWall to. If it works, then maybe it's be a bug that should be reported.

  • Actually that is what I did, I removed the family and went through the events to specify each action for wooden walls and brick walls individually and it works now. I am not sure if its a bug, but it wasn't working when they were in a family; or it could just be something that I overlooked on my end. In either case, I got it working.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)