Boucing an object to a specific angle
![blamekilly](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hello !
I'm trying to recreate Pong rules with the specific boucing angles according to where the ball hits the paddle but I feel a bit lost between all the attributes and behaviours.
How can I define a specific angle for the ball to bounce and keeping it's original speed ? I try no to use physic on the ball in order to have a very strict control over it !
Thanks
I'm trying to recreate Pong rules with the specific boucing angles according to where the ball hits the paddle but I feel a bit lost between all the attributes and behaviours.
How can I define a specific angle for the ball to bounce and keeping it's original speed ? I try no to use physic on the ball in order to have a very strict control over it !
Thanks
Comments
GS will do most of the work for you in this case.
on your paddle, it should a standard collide shape set to square and set restitution to 1
On your ball change collide shape to round and set drag = 0
If the ball comes in at a steep angle GS bounce it accordingly
I really don't know how to calculate an angle from these informations in order to increase-decrease it !
Please someone help me : /