Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17560

How did people turn this Lagrange equation of a 3d pendulum into a physics simulation?

$
0
0

Disclaimer: I have a rusty understanding of what a Lagrange equation is. The simplest explanation I have found is it's a way to minimize or maximize a function based on a constraint. 

I found this forum post showing how they were able to model a pendulum in 3d. I was wondering if someone could give a more in depth explanation of what they did and how they were able to implement it into code at a level that someone who has only taken Physics 1 can understand.

http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1191 …


Viewing all articles
Browse latest Browse all 17560

Trending Articles