Better Jump, learning notes

Better Jump, learning notes

記錄學習 Titanfall 的跳躍及閱讀過的文章

the code from video convert into C#

float gravity = (-2f * m_MaxHeight) / Mathf.Pow(m_TimeToJumpApex, 2);
float v0 = Mathf.Abs(gravity * m_TimeToJumpApex);

for not using physics (with sample code)

How to jump a game character realistically without using physics engine in corona sdk

 

Runge Kutta 4

Overkill Version.

C# example Kutta solver (later study)

https://www.centerspace.net/examples/nmath/csharp/analysis/runge-kutta-solver-example.php

https://www.physicsforums.com/threads/fourth-order-rungekutta-in-c-two-differential-equations.515691/

http://www.extremeoptimization.com/QuickStart/CSharp/DifferentialEquations.aspx

to be continue.

 

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

*

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料