mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Fixed camera rotating with Lara's hips when climbing out of water - fixes #1311
This commit is contained in:
parent
7f9f5c619a
commit
77cd0644f7
2 changed files with 2 additions and 2 deletions
|
@ -3,6 +3,7 @@ Version 1.5
|
|||
|
||||
* Fixed original issue with classic switch off trigger wrongly activating some trigger actions.
|
||||
* Fixed incorrect diving animation when swandiving from a high place.
|
||||
* Fixed camera rotating with Lara's hips when climbing out of water.
|
||||
* Fixed AI for skidoo driver and worker with shotgun TR2 enemies.
|
||||
|
||||
Lua API changes:
|
||||
|
|
|
@ -273,6 +273,5 @@ void lara_as_surface_climb_out(ItemInfo* item, CollisionInfo* coll)
|
|||
player.Control.Look.Mode = LookMode::None;
|
||||
coll->Setup.EnableObjectPush = false;
|
||||
coll->Setup.EnableSpasm = false;
|
||||
Camera.flags = CF_FOLLOW_CENTER;
|
||||
Camera.laraNode = LM_HIPS; // Forces the camera to follow Lara instead of snapping.
|
||||
Camera.flags = CF_FOLLOW_CENTER; // Forces the camera to follow Lara instead of snapping.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue