Skip to content

Commit

Permalink
fix(Locomotion): prevent teleport snap to floor onto trigger colliders
Browse files Browse the repository at this point in the history
The SnapToFloor prefab was set up so the SurfaceLocator would cast a
ray and consider a trigger collider a valid floor. This makes little
sense as a trigger collider is usually used to determine a volume that
can be entered and passed through. The fix is to add a custom
PhysicsCast to the SnapToFloor prefab that has the setting to ignore
trigger colliders for the RayCast. This can then still be disabled
if required.
  • Loading branch information
thestonefox committed Sep 25, 2019
1 parent 70fe42b commit 065d74d
Showing 1 changed file with 74 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 065d74d

Please sign in to comment.