Skip to content
Snippets Groups Projects
Commit 452b272d authored by David Gilbert's avatar David Gilbert :bug:
Browse files

Merge branch 'hotfix/ContinuousMovementComponent' into 'dev/5.4'

Enables movement when stuck colliding with objects.

See merge request !101
parents 30893e87 7e770261
No related branches found
No related tags found
1 merge request!101Enables movement when stuck colliding with objects.
......@@ -67,13 +67,8 @@ void UCollisionHandlingMovement::TickComponent(float DeltaTime, enum ELevelTick
}
}
// in case we are in a collision and collision checks are temporarily deactivated, we only allow physical
// movement without any checks, otherwise check collision during physical movement
if (bCollisionChecksTemporarilyDeactivated)
{
ConsumeInputVector();
}
else
// in case we are in a collision and collision checks are temporarily deactivated.
if (!bCollisionChecksTemporarilyDeactivated)
{
// so we add stepping-up (for both walk and fly)
// and gravity for walking only
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment