Open nickworks opened 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.
Verlet Explained - Excellent article describing and visualizing the math of Verlet integration.
Integration Basics - Glenn Fielder's guide and comparison of Euler and RK4.
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.