#TireSwing - Angle, Translation
7 messages · Page 1 of 1 (latest)
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close
- Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules.
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
Well, I assume you want to find θ as a function of t.
If θ is small, you can use the small-angle approximation and arrive at a linear second-order DE that can be easily solved.
If θ is not small, then the DE is only solvable with the help of non-elementary functions. More specifically, you need Jacobi elliptic functions. Here is a relevant article.
Thanks! 😄 I wasn't thinking that advanced right away, I just wanted a formula that uses gravity and air resistance to calculate Angle and Translation every 50ms
A little more specific, what I'm trying to get is a Vector3f (Translation) and a Quaternionf (Angle) from org.joml
declaration: package: org.joml, class: Vector3f
declaration: package: org.joml, class: Quaternionf
Thanks! 🙂 It looks quite advanced, so what I need can be quite simple ich really just need to take air mods into account, so when a user jumps on we increase the power up to a certain point and when it jumps off it doesn't get any more power and should slow down naturally. What I need is just an angle every 50ms really 🙂