Passer au contenu principal
Bluvy Tube
Appuyez sur Échap pour quitter le plein écran
Volume m
/
i
Mode Cinéma t
f
/
Since entities are Node2D now they can't collide with walls but then I found this 'Manhattan Length' formula which limits any Vector length in a diamond shape so I can limit their movement to this room shape (multiply the Y vector length by 2 on the formula for the isometric look) NO COLLISIONS!

Raccourcis clavier

Espace K
Lecture / pause
← →
Reculer / avancer de 5 s
J L
Reculer / avancer de 10 s
0–9
Aller à 0 %–90 % de la vidéo
Home End
Début / fin
, .
Image précédente / suivante (en pause)
< >
Ralentir / accélérer
↑ ↓
Volume
M
Couper / rétablir le son
C
Sous-titres
F
Plein écran
I
Image dans l’image
T
Mode cinéma
?
Afficher cette aide

Since entities are Node2D now they can't collide with walls but then I found this 'Manhattan Length' formula which limits any Vector length in a diamond shape so I can limit their movement to this room shape (multiply the Y vector length by 2 on the formula for the isometric look) NO COLLISIONS!

0 vue Publié le 08/11/2026 21:57 0:36
Since entities are Node2D now they can't collide with walls but then I found this 'Manhattan Length' formula which limits any Vector length in a diamond shape so I can limit their movement to this room shape (multiply the Y vector length by 2 on the formula for the isometric look) NO COLLISIONS!
2 commentaires
?
Impressive, also love the art style
Thanks!
the way it works is like each character has some sort of leash with a max length tied to the world origin (center of the room) and they can't move past the max length. the length being calculated from the current position to the world origin which returns a float value compared to the max length
Voir le post d'origine sur Bluesky
Lien copié dans le presse-papier

Connexion

Il est temps de faire une pause

Ça fait 30 minutes que vous enchaînez les vidéos : accordez-vous 5 minutes loin de l'écran. Levez-vous, étirez-vous, buvez un verre d'eau… Les vidéos vous attendront ici.