I've set my Camera mouse-look up as below:
if event is InputEventMouseMotion:
var movement = event.relative
rotation.x += (-deg2rad( movement.y*sens))/3.5
rotation.x = clamp( rotation.x , deg2rad(-90), deg2rad(90))
rotation.y +=( -deg2rad( movement.x*sens))/2.5
It uses the OS mouse event trigger. The only problem with this method is I must call it from
func _input(event):
Works fine, but this event does not have a delta value and I'm worried by not applying delta to my mouselook that I will get weird speeds across different systems.
Is there a GDScript way of doing this same method without using OS event/call. I've searched Hi and Low and read through the docs.. but little to NO information on this topic was found.