GameSalad

Howdy, Stranger!

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

having problem with bouncing off angled walls.

I have a bunch of walls set up at either 45 or 135 degrees and the hero actor who bounces off of them.

My problem is the hero doesn't bounce off the center, but close to the center, so after several bounces he is no longer lined up and will start to miss the walls. I want the hero to be able to bounce indefinitely between the walls.here is a picture

how do I make it so the hero bounces off the exact center so it just keeps going?

thank you.

Comments

  • mikefilippimikefilippi Posts: 18Member, PRO

    I figured it out. What I did was make them not collide, then set a rule to move the dot to the center of the paddle when they overlap and then change its motion once it gets there. Forces it to stay centered, but I had to make 8 rules, one for each direction it could bounce.

  • RThurmanRThurman Posts: 2,819Member, Sous Chef, PRO

    Sounds like some creative thinking!

Sign In or Register to comment.