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
Branches
Tags
1 merge request!101Enables movement when stuck colliding with objects.
...@@ -67,13 +67,8 @@ void UCollisionHandlingMovement::TickComponent(float DeltaTime, enum ELevelTick ...@@ -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 // in case we are in a collision and collision checks are temporarily deactivated.
// movement without any checks, otherwise check collision during physical movement if (!bCollisionChecksTemporarilyDeactivated)
if (bCollisionChecksTemporarilyDeactivated)
{
ConsumeInputVector();
}
else
{ {
// so we add stepping-up (for both walk and fly) // so we add stepping-up (for both walk and fly)
// and gravity for walking only // 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