MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / SetLaraHitCeiling

Function SetLaraHitCeiling

TombEngine/Game/Lara/lara_collide.cpp:752–758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750}
751
752void SetLaraHitCeiling(ItemInfo* item, CollisionInfo* coll)
753{
754 item->Animation.IsAirborne = false;
755 item->Animation.Velocity.y = 0.0f;
756 item->Animation.Velocity.z = 0.0f;
757 item->Pose.Position = coll->Setup.PrevPosition;
758}
759
760bool TestLaraObjectCollision(ItemInfo* item, short headingAngle, int forward, int down, int right)
761{

Callers 15

lara_col_jump_prepareFunction · 0.85
lara_col_walk_forwardFunction · 0.85
lara_col_run_forwardFunction · 0.85
lara_col_run_backFunction · 0.85
lara_col_walk_backFunction · 0.85
lara_col_step_rightFunction · 0.85
lara_col_step_leftFunction · 0.85
lara_col_roll_180_backFunction · 0.85
lara_col_wade_forwardFunction · 0.85
lara_col_sprintFunction · 0.85
lara_col_sprint_slideFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected