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
I would suggest shift+E/Q+mousewheel to rotate the hands around the Z axis?
I've added it to my project by inheriting your scene :D
extends "res://addons/xr-simulator/XRSimulator.gd"
func _input(event):
var mb := event as InputEventMouseButton
if mb && mb.button_index in [MOUSE_BUTTON_WHEEL_DOWN, MOUSE_BUTTON_WHEEL_UP] && mb.shift_pressed:
var amount := 1.0 if mb.button_index == MOUSE_BUTTON_WHEEL_DOWN else -1.0
amount = (scroll_sensitivity * amount)/20
var done := false
if Input.is_physical_key_pressed(KEY_Q) or toggle_left_controller:
left_controller.rotate_z(amount)
done = true
if Input.is_physical_key_pressed(KEY_E) or toggle_right_controller:
right_controller.rotate_z(amount)
done = true
if done:
return
super(event)
The text was updated successfully, but these errors were encountered:
I would suggest shift+E/Q+mousewheel to rotate the hands around the Z axis?
I've added it to my project by inheriting your scene :D
The text was updated successfully, but these errors were encountered: