nickworks / TreeOfLife

This is a game being developed by DAGD students.
2 stars 1 forks source link

Euler physics #14

Open nickworks opened 6 years ago

nickworks commented 6 years ago

Euler physics is okay, but perhaps would should consider Runge-Kutta or Verlet.

Of course, we can implement this on a script-by-script basis. For example, some enemies might require more accurate physics integration.

nickworks commented 6 years ago

Verlet Explained - Excellent article describing and visualizing the math of Verlet integration.

Integration Basics - Glenn Fielder's guide and comparison of Euler and RK4.