@project17b: perdón si se ve borroso capput me está bajando la calidad #godotengine #godot #fipシviral @export var sensitivity = 0.01 var dragging = false var last_pos = Vector2.ZERO func _unhandled_input(event): if event is InputEventScreenTouch: if event.pressed: dragging = true last_pos = event.position else: dragging = false elif event is InputEventScreenDrag and dragging: var delta = event.position - last_pos last_pos = event.position rotation.y -= delta.x * sensitivity rotation.x -= delta.y * sensitivity rotation.x = clamp(rotation.x, deg_to_rad(-80), deg_to_rad(80))
project_17-b
Region: MX
Saturday 14 February 2026 00:27:12 GMT
Music
Download
Comments
† :
bro y si pones el código en los comentarios así lo copiamos
2026-05-18 22:23:32
1
project_17-b :
@export var sensitivity = 0.01
var dragging = false var last_pos = Vector2.ZERO
func unhandled_input(event):
if event is InputEventScreen Touch:
if event.pressed:
dragging = true
last_pos = event.position
else:
dragging = false
elif event is InputEventScreenDrag and dragging:
var delta = event.position - last_pos
last_pos = event.position
rotation.y - delta.x sensitivity rotation.x -= delta.y sensitivity rotation.x = clamp(rotation.x, deg_to_rad(-80), deg_to_rad(80))
2026-06-17 16:44:39
0
lagare :
una pregunta el código que ya te aparece que borrarlo o dejarlo ahí sí o no
2026-04-25 22:05:04
1
un random desconocido :
gracias bro
2026-02-14 19:45:15
0
✧✩YinXx✧✩ :
para que motor es ?
2026-02-14 00:51:22
0
FINN :
Oye cuando pongo el script me sale errores y cuando intento ver cómo va mi juego no me carga que ago
2026-04-12 02:10:31
0
cupido :
me servirá para después (cuando tocas un botón no se mueve la cámara)
2026-02-18 23:05:41
0
To see more videos from user @project17b, please go to the Tikwm
homepage.