Skip to content

Commit d759106

Browse files
fix(Controls): replace lever to use rotator track
The lever now uses the Rotator_Track as the Track_Object grab mechanic doesn't work as well for moving the lever.
1 parent a4d92ad commit d759106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/VRTK/Scripts/Controls/3D/VRTK_Lever.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ protected override void InitRequiredComponents()
5858
io.isGrabbable = true;
5959
io.precisionSnap = true;
6060
io.stayGrabbedOnTeleport = false;
61-
io.grabAttachMechanic = VRTK_InteractableObject.GrabAttachType.Track_Object;
61+
io.grabAttachMechanic = VRTK_InteractableObject.GrabAttachType.Rotator_Track;
6262

6363
hj = GetComponent<HingeJoint>();
6464
if (hj == null)

0 commit comments

Comments
 (0)