Uploaded April 2024 | Updated September 2026, 2 weeks ago
Here's my detailed explanation of rotating 2d objects in Godot by degrees or radians. Briefly touches how to use input actions to trigger the rotations on a Node2D (the root of the object you need rotated)
Watch out for tiny inaccuracies in floating point degree / radian conversions by checking with is_equal_approx!
Trying to Look At (Rotate Towards) at Player / Enemies? youtu.be/tX9yzjigV1k?si=DHceoZ0szx3d1rbt
Grid Building Plugin ➣ https://linktr.ee/gridbuilder
World Time Plugin ➣ https://linktr.ee/worldtimeplugin
Item Drops Plugin ➣ https://linktr.ee/itemdrops
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
https://linktr.ee/ChrisTutorials
ko-fi.com/christutorials
patreon.com/christutorials
chris-tutorials.itch.io
➣ Support Channel with Crypto Donations
pastebin.com/WAnBPcXs
00:00 - Demonstration
00:51 - Rotation Degrees Output
01:28 - Rotation & Input Code
03:25 - Simplest Degrees Rotation Solution (tl;dw)
05:21 - Floating Point Conversions in Rotations
07:32 - GUT Godot Unit Test
07:40 - Rotating with Radians
10:12 - Look At (Video in Description)
11:00 - Why global_rotation_degrees?
11:31 - Wrapup
Here's my detailed explanation of rotating 2d objects in Godot by degrees or radians. Briefly touches how to use input actions to trigger the rotations on a Node2D (the root of the object you need rotated)
Watch out for tiny inaccuracies in floating point degree / radian conversions by checking with is_equal_approx!
Trying to Look At (Rotate Towards) at Player / Enemies? youtu.be/tX9yzjigV1k?si=DHceoZ0szx3d1rbt
Grid Building Plugin ➣ https://linktr.ee/gridbuilder
World Time Plugin ➣ https://linktr.ee/worldtimeplugin
Item Drops Plugin ➣ https://linktr.ee/itemdrops
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
https://linktr.ee/ChrisTutorials
ko-fi.com/christutorials
patreon.com/christutorials
chris-tutorials.itch.io
➣ Support Channel with Crypto Donations
pastebin.com/WAnBPcXs
00:00 - Demonstration
00:51 - Rotation Degrees Output
01:28 - Rotation & Input Code
03:25 - Simplest Degrees Rotation Solution (tl;dw)
05:21 - Floating Point Conversions in Rotations
07:32 - GUT Godot Unit Test
07:40 - Rotating with Radians
10:12 - Look At (Video in Description)
11:00 - Why global_rotation_degrees?
11:31 - Wrapup
![Hit and Damage for Behavior Tree & State Machine ~ Godot 4 LimboAI Tutorial [P8 Final]
Wrapping up the LimboAI Behavior Tree & State Machine Series with some basic health, damage, and death states. Showing methods for triggering the dead animation for both state machine and behavior tree.
Series Project Files
Ko-fi ➣ https://ko-fi.com/post/Project-Files-Control-Character-States-with-Limb-P5P118FNW8
Patreon ➣ https://www.patreon.com/posts/119247384
Playlist
https://www.youtube.com/watch?v=6HzETy7izig&list=PLyH-qXFkNSxkviZMlWoVilQN40Oqh7m6Y&pp=gAQB
Grid Building Plugin ➣ https://linktr.ee/gridbuilder
World Time Plugin ➣ https://linktr.ee/worldtimeplugin
Item Drops Plugin ➣ https://linktr.ee/itemdrops
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
https://linktr.ee/ChrisTutorials
https://ko-fi.com/christutorials
https://patreon.com/christutorials
https://chris-tutorials.itch.io/
Art Assets
Treasure Hunters by Pixel Frog
https://pixelfrog-assets.itch.io/treasure-hunters
Timestamps
0:00 What to Expect
0:20 Character Health
1:05 Attack Collider
8:02 Dead State - Player State Machine
10:38 Behavior Tree Dead Transition
14:31 Making Stats Unique Per Character
15:21 Wrapup Hit and Damage for Behavior Tree & State Machine ~ Godot 4 LimboAI Tutorial [P8 Final]](https://i.ytimg.com/vi/cTz7MoAMUaY/mqdefault.jpg)









