mirror of https://github.com/AxioDL/metaforce.git
Fix AABB-point collision issue
This commit is contained in:
parent
93ff138ba9
commit
290c79b57e
|
@ -385,7 +385,7 @@ void CGroundMovement::MoveGroundCollider_New(CStateManager& mgr, CPhysicsActor&
|
|||
CGameCollision::BuildAreaCollisionCache(mgr, cache);
|
||||
CPlayer& player = static_cast<CPlayer&>(actor);
|
||||
player.x9c5_28_slidingOnWall = false;
|
||||
bool startingJump = player.x258_movementState == CPlayer::EPlayerMovementState::ApplyJump;
|
||||
bool applyJump = player.x258_movementState == CPlayer::EPlayerMovementState::ApplyJump;
|
||||
bool dampUnderwater = false;
|
||||
if (player.x9c4_31_dampUnderwaterMotion)
|
||||
if (!mgr.GetPlayerState()->HasPowerUp(CPlayerState::EItemType::GravitySuit))
|
||||
|
@ -401,7 +401,7 @@ void CGroundMovement::MoveGroundCollider_New(CStateManager& mgr, CPhysicsActor&
|
|||
CMaterialList material(EMaterialTypes::NoStepLogic);
|
||||
SMoveObjectResult result;
|
||||
|
||||
if (!startingJump)
|
||||
if (!applyJump)
|
||||
{
|
||||
SMovementOptions opts;
|
||||
opts.x0_setWaterLandingForce = false;
|
||||
|
|
2
specter
2
specter
|
@ -1 +1 @@
|
|||
Subproject commit 7ff240567107e87d46b6ce1b00cb73f6c249b08d
|
||||
Subproject commit 8d29c1449c4e661449c6b666c2fe17ce35dff023
|
Loading…
Reference in New Issue