Physics problem! HELP!!!

denimkjbdenimkjb Member Posts: 10
edited November -1 in Working with GS (Mac)
Hi everyone, the solution to my problem i'm sure is very simple but i've no idea how to do it

I have a ball falling and below there's a rectangle at 45% pr any %, and when the ball collides with the rectangle the ball should bounce in the direction of the rectangle (to the right), but instead the ball goes straight up.

My ball has a change velocity:
direction: 270 - relative to: scene
speed: 500
this is what makes the ball fall

and then when the ball collides with the rectangle there's another change velocity:
direction: i'm sure here is my problem, no idea what to put in here - relative to: scene
speed: 700 (i want to make the ball go faster when hits the rectangle)

I hope someone can help me
Thanks

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    Try getting rid of the change velocity. Instead put a collide behavoir in so it collides with the 45 rectangle. then in the rectangle set it's restitution to something between 1 and 2 (try 1.5 and go from there).
  • denimkjbdenimkjb Member Posts: 10
    I did that but nothing changed, the collision exists, the ball collide with the rectangle and bounce away, but its not respecting the angle of the rectangle :( another idea?
Sign In or Register to comment.