diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-12-20 18:57:23 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-12-20 18:57:23 -0500 |
commit | 62069b31c7d23055f999c70a58ccf7d58acd333f (patch) | |
tree | 7ea4c57e74d978a297d34cf61d9c85db846e8900 /src/systems/rendering.cpp | |
parent | 90aadf3844386824140a20d7fbb847bc16009a94 (diff) | |
download | therapy-master.tar.gz therapy-master.tar.bz2 therapy-master.zip |
The acceleration of a Ponderable entity is now only really a magnitude. The direction of acceleration is such that the velocity goes toward the target velocity. If accelerating would cause the velocity to pass the target velocity, it is instead set to the target. This is currently being used to 1) generalize terminal velocity due to gravity, and 2) allow an Orientable entity to accelerate quickly to a walking speed (and to a halt) rather than instantly achieve it.
Diffstat (limited to 'src/systems/rendering.cpp')
0 files changed, 0 insertions, 0 deletions