jonpas 711e1fc026 Fix Underwater interactions (magrepack, loading, refuel, medical legs, dragging) (#5521)
* Fix Magazine Repack underwater - fix #5513
Also prevent common goKneeling function underwater

* Fix loading patients underwater - fix #5515

* Fix load object underwater

* Fix take nozzle on jerry can underwater

* Fix refuel underwater conditions further

* Use isTouchingGround, Make refuel semi-compatible
 reports false if head is out of the water, we want true even if we are not diving

* Less interact exceptions duplication

* Use animationState to determine if unit is swimming, create common function and use it instead of isTouchingGround

* Fix condition

* Support dragging underwater
No carrying due to animation timing issues and other misc things

* Allow Medical Legs SelfActions underwater

* Fix fixPosition function underwater (use getPosATL instead of getPos)

* Fix fixPosition's slope adjustment for non-gravity objects, Do the same for objects without simulation as well
2017-10-01 13:38:11 -05:00
..
2017-05-14 14:48:05 -05:00
2015-01-12 19:22:58 +01:00
2015-01-12 19:22:58 +01:00
2015-03-24 20:28:44 +01:00
2015-01-12 22:34:01 +01:00
2017-09-12 23:23:45 -05:00
2015-01-26 13:35:31 +01:00
2015-01-12 19:22:58 +01:00
2016-02-22 15:20:36 +01:00

ace_common

Common functions and systems used by other components.

Maintainers

The people responsible for merging changes to this component or answering potential questions.