summary refs log tree commit diff stats
path: root/src/components/simple_collider.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-05-08 21:47:57 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-05-09 17:59:13 -0400
commit67b24a8ddd89371cfb944c5b441c852f0edc23b1 (patch)
treed52c054e35e680bcc65c0acafc924dc1deb6c50e /src/components/simple_collider.cpp
parent5c82f052c26303318e81ddd76475c1d188cc74f4 (diff)
downloadtherapy-67b24a8ddd89371cfb944c5b441c852f0edc23b1.tar.gz
therapy-67b24a8ddd89371cfb944c5b441c852f0edc23b1.tar.bz2
therapy-67b24a8ddd89371cfb944c5b441c852f0edc23b1.zip
Fixed ferries pushing passengers
Ferries now pretend that their passengers have already moved by the appropriate delta when detecting collision in the direction of their passengers. This allows a ferry to move into the space where their passengers are when there is nothing else blocking it. It also allows for special behavior when a passenger is crushed between its ferry and a wall, but this is not yet implemented.

This fixes the first issue described in 8f1c4f1 -- that ferries cannot push their passengers. With this fix, ferries are basically functional.
Diffstat (limited to 'src/components/simple_collider.cpp')
0 files changed, 0 insertions, 0 deletions