@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
project_17-b
Open In TikTok:
Region: MX
Saturday 14 February 2026 00:27:12 GMT
6280
184
10
10

Music

Download

Comments

alejuandrox
† :
bro y si pones el código en los comentarios así lo copiamos
2026-05-18 22:23:32
1
project17b
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
miselania.laguerre
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.descono6
un random desconocido :
gracias bro
2026-02-14 19:45:15
0
el_pishi_trixxo
✧✩YinXx✧✩ :
para que motor es ?
2026-02-14 00:51:22
0
facundogr0515
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.___
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.

Other Videos


About