Fix mouse look
parent
8883ad6bcc
commit
6ee6f222b1
|
@ -60,7 +60,7 @@ func _input(event):
|
||||||
|
|
||||||
elif event.scancode == KEY_I:
|
elif event.scancode == KEY_I:
|
||||||
var pos = get_translation()
|
var pos = get_translation()
|
||||||
var fw = get_forward()
|
var fw = -transform.basis.z
|
||||||
print("Position: ", pos, ", Forward: ", fw)
|
print("Position: ", pos, ", Forward: ", fw)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue