Hey
I am playing with a ping pong ball using Corona SDK and there is some information about the Magnus Effect when hitting a ping pong ball with spin which creates a different rotation than an ordinary pool ball or alike.
So does someone have any idea on how to recreate the ping pong ball physics as real and true as possible in Corona? [import]uid: 22737 topic_id: 5853 reply_id: 305853[/import]
Honestly I would probably start with something very simple and non-mathematical: I’d add a “twisting” effect to the ball that slowly rotates its velocity vector, and I’d have that rotation amount decay linearly over time to simulate the effect of friction. I might do it as part of the enterFrame listener if I couldn’t figure out another way to do it. I’d fool around with different values until I got something that felt right. If I couldn’t get a decent result that way, then I’d start cracking the books and see if there’s a legitimate mathematical way to calculate it.
[import]uid: 9659 topic_id: 5853 reply_id: 20794[/import]