https://melon.zone
drmelon@mastodon.gamedev.place
Instead of applying acceleration based on delta-position, apply acceleration based on delta-velocity.
i.e. Calculate the *ideal* velocity needed to get from here to target by the correct time. Then apply an acceleration that is (ideal_velocity - current_velocity).
Instead of applying acceleration based on delta-position, apply acceleration based on delta-velocity.
i.e. Calculate the *ideal* velocity needed to get from here to target by the correct time. Then apply an acceleration that is (ideal_velocity - current_velocity).
The latter method pre-emptively applies corrective acceleration. Much like the Akira slide! 🏍️💨
The latter method pre-emptively applies corrective acceleration. Much like the Akira slide! 🏍️💨