State: LS_VAULT (164) Collision: lara_void_func()
| 99 | // State: LS_VAULT (164) |
| 100 | // Collision: lara_void_func() |
| 101 | void lara_as_vault(ItemInfo* item, CollisionInfo* coll) |
| 102 | { |
| 103 | auto& player = GetLaraInfo(*item); |
| 104 | |
| 105 | player.Control.Look.Mode = LookMode::None; |
| 106 | coll->Setup.EnableObjectPush = false; |
| 107 | coll->Setup.EnableSpasm = false; |
| 108 | |
| 109 | EasePlayerElevation(item, player.Context.ProjectedFloorHeight - item->Pose.Position.y); |
| 110 | item->Pose.Orientation.Lerp(player.Context.TargetOrientation, 0.4f); |
| 111 | |
| 112 | item->Animation.TargetState = LS_IDLE; |
| 113 | } |
| 114 | |
| 115 | // State: LS_AUTO_JUMP (62) |
| 116 | // Collision: lara_as_jump_prepare() |
nothing calls this directly
no test coverage detected