Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RWTH VR Toolkit
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LuFG VR VIS
VR-Group
Unreal-Development
Plugins
RWTH VR Toolkit
Commits
7e770261
Commit
7e770261
authored
9 months ago
by
Kris Tabea Helwig
Browse files
Options
Downloads
Patches
Plain Diff
fix(movement): enables movement when stuck colliding with objects.
parent
30893e87
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!101
Enables movement when stuck colliding with objects.
Pipeline
#450197
passed
8 months ago
Stage: analyze
Stage: generate
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/RWTHVRToolkit/Private/Pawn/Navigation/CollisionHandlingMovement.cpp
+2
-7
2 additions, 7 deletions
...kit/Private/Pawn/Navigation/CollisionHandlingMovement.cpp
with
2 additions
and
7 deletions
Source/RWTHVRToolkit/Private/Pawn/Navigation/CollisionHandlingMovement.cpp
+
2
−
7
View file @
7e770261
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment