Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formula 6.5, missing factor 2 #64

Open
Maesla opened this issue May 14, 2024 · 0 comments
Open

Formula 6.5, missing factor 2 #64

Maesla opened this issue May 14, 2024 · 0 comments

Comments

@Maesla
Copy link

Maesla commented May 14, 2024

Following the issue 11 , I have a question regarding formula 6.5
In the book, Formula 6.5 stands for

$\ddot{p}=(p_t-p_0)\frac{1}{t^2}-\dot{p_0}$

As issue issue 11 says, there is a t missing in the formula, so it should be

$\ddot{p}=(p_t-p_0)\frac{1}{t^2}-\frac{\dot{p_0}}{t}$

But, if this formula comes, as I suspect, from uniform acceleration motion, since where are guessing that during all the frame we are applying the same acceleration to get the particle exactly to the position we want,
$p_t=p_0 +\dot{p_0}t+\frac{1}{2}\ddot{p}t^2$

Are we missing the 2 factor as well in the final formula, getting the following formula as the corrected 6.5?
$\ddot{p}=\frac{2}{t^2}(p_t-p_0)-\frac{2}{t}\dot{p_0}$

Vector3 accel = (target - position) * ((real)1.0 / (duration*duration)) -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant