How to move a sprite independently of its parent node in Godot C#?
I am trying to make my sprite move/rotate independently of its parent node, so that the hitbox does not follow the sprite. I am trying to make the sprite smoothly sway side to side whilst the player is moving
How to move a sprite independantly of it’s parent node in Godot C#?
I am trying to make my sprite move/rotate independently of it’s parent node, so that the hitbox does not follow the sprite. I am trying to make the sprite smoothly sway side to side whilst the player is moving
Can’t print to console in Godot 4 C#
I create a new project, add a root Node2D
called ‘Level’ and attach a script:
godot GDEXTENSION export var with Node3D type
I have problems exporting a variable with a Node3D type to the engine.
I’m just learning C++ for godot and in the C++ guide there is a section with exporting variables
enter image description here
I’m trying to export Node3D so it looks something like this
enter image description here
but when I try to do this in C++, I get a lot of errors