Hey everyone! I just started with Hype Pro yesterday and loving it - thanks to everyone in the forums, reading the questions and answers here really helped me get started.
One thing I wasn’t able to find an answer to was how to animate a ball with physics. Essentially, I have a ball with dynamic physics from the start, and I was able to get it so that you can click on the ball to make it move, but I can’t figure out how to do two things:
- Animate the ball from wherever it lands, instead of from a fixed location. I used a simple motion path animation but this doesn’t work because the ball starts animating from the same place every time, and not from wherever the balls ends up based on physics
- Animate in the opposite direction of where the user clicks the ball (clicking the bottom of the ball animates it up, clicking the right side animates it left)
A small 3rd problem I had is that I made static walls on the bottom, left and right, but the left/right ones don’t seem to be working and for the life of me I can’t figure out why…
Here’s a simple demo: Ball Click Example.zip (18.9 KB)