You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(Presence): prevent position rewind when body physics collisions off
If the Body Physics script is present and the enable collisions is
disabled, then prevent a position rewind from happening as it probably
means the user is wanting to clip inside geometry.
If no Body Physics script is present then it will always rewind.
Copy file name to clipboardExpand all lines: Assets/VRTK/Scripts/Presence/VRTK_PositionRewind.cs
+26-20Lines changed: 26 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -21,26 +21,27 @@ public class VRTK_PositionRewind : MonoBehaviour
21
21
[Tooltip("The threshold to determind how low the headset can be to perform a position rewind. If the headset Y position is lower than this threshold then a rewind won't occur.")]
0 commit comments