SFML community forums
Help => General => Topic started by: baguettio on March 23, 2020, 08:32:47 pm
-
Trying to make the player swing on a pendulum with the mouse on a right-click being the pivot, so far managed to find the distance between the player and the mouse, the angle, and from that the pendulum period and frequency. How do I use these to calculate velocity?
-
That's pretty much just a math/physics problem. Maybe you're lucky and someone has recently done something similar, but this is probably best ask somewhere else that focuses more on math in games. ;)
-
i asked on stack overflow and they told me to figure it out for myself ):
-
Ok. I'm willing to give you one pointer:
https://en.wikipedia.org/wiki/Pendulum_(mathematics) (https://en.wikipedia.org/wiki/Pendulum_(mathematics))
;D