ball trajectory, help please?
Applify
Member, PRO Posts: 7
hello guys,
I need some help with my game. It's something like brick breaker.
How do I make the ball move in a direction depending on what place he collides with my paddle?
Thanks
Applify
I need some help with my game. It's something like brick breaker.
How do I make the ball move in a direction depending on what place he collides with my paddle?
Thanks
Applify
Best Answer
-
AppTaco Posts: 125Hey there, give this a try.
First, make sure the ball doesn't have any gravity applied to it. Then make a behavin the ball actor, "collide with actor paddle". Then, to start the ball's movement, add a change velocity behavior, with 75 in the "direction" slot and 150 (or however fast you want the ball to move) in the "speed" slot.
Hope this helps. If you would like, I can whip up a quick template, when I have access to a computer.
Answers
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx