opentomb / OpenTomb

An open-source Tomb Raider 1-5 engine remake
http://opentomb.github.io/
GNU Lesser General Public License v3.0
1.38k stars 143 forks source link

[Camera] no angle_y defined for underwater. #588

Open ghost opened 5 years ago

ghost commented 5 years ago

when working on the harpoon animations, lara can't lock correctly the underwater enemy, in the code (game_camera.cpp) no angle are defined for y_axis. so the camera wont rotate (mouse is not used) when lara move at up or down (because in land, lara don't need it !).