mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-05 07:20:07 +01:00
Add joints test to 2D/3D physics tests
This commit is contained in:
@@ -14,7 +14,7 @@ func _ready():
|
||||
func _unhandled_input(event):
|
||||
var mouse_button_event = event as InputEventMouseButton
|
||||
if mouse_button_event:
|
||||
if mouse_button_event.button_index == BUTTON_LEFT:
|
||||
if mouse_button_event.button_index == BUTTON_RIGHT:
|
||||
_rotation_enabled = mouse_button_event.pressed
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user