mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Revert object camera position fix
This commit is contained in:
parent
b353557c7f
commit
01129f62b5
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ void ObjCamera(ItemInfo* camSlotId, int camMeshId, ItemInfo* targetItem, int tar
|
|||
|
||||
//get mesh 0 coordinates.
|
||||
auto pos = GetJointPosition(camSlotId, 0, Vector3i::Zero);
|
||||
auto dest = Vector3(pos.x, pos.y, pos.z) + camSlotId->Pose.Position.ToVector3();
|
||||
auto dest = Vector3(pos.x, pos.y, pos.z);
|
||||
|
||||
GameVector from = GameVector(dest, camSlotId->RoomNumber);
|
||||
Camera.fixedCamera = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue