New answers tagged godot
2
votes
Accepted
How can I check if `call`, `callv` failed
Checking a method signature with reflection
I believe Godot does not have a means to check if a call failed...
But you can check your concerns before making the call.
If you are going to call like ...
3
votes
How do I configure Godot 4.1.1 to use Rider as the IDE for C#?
Took me a while to get this working.
Ensure you're using Mono godot.
Go to Project > Tools > C# > Create C# Solution
Then open the solution within Rider, and ensure you have the Godot plugin ...
1
vote
Accepted
Stay Upright Within Rotating Area
Since you might need RigidBody3D to change their direction of gravity… Have the Area3D override gravity (you can set its ...
1
vote
How to assign a Resource Array to a variable in Godot 4?
I have figured out the answer to this question. The answer is simple:
@export var test_variable : Array[Resource]
You can do this to create an Array of any node ...
2
votes
Accepted
Detect intersections between an `AABB` and a `CollisionShape3D`
I'll suggest to check the collision using Godot physics below.
But first, about the mesh you are getting...
The Debug Mesh
It makes sense that you get lines from ...
4
votes
What is the difference between @onready and _ready()?
Pikalek answer is correct, but there is more we can say about the difference between @onready and _ready.
Also it can use a bit ...
5
votes
Accepted
What is the difference between @onready and _ready()?
They are similar in the sense that both deferred assignment until after the node has entered the tree. However in the example you gave, they differ with respect to their scope.
...
1
vote
Accepted
Why can't I access my custom signal under the SignalName subclass when trying to emit it?
What you need to emit a signal is an StringName. You should be able to confirm that by looking at the definition of EmitSignal.
...
1
vote
Un-pause game button not working
You are correct in that the _process, _physics_process, _input, and ...
2
votes
Un-pause game button not working
The process_mode of the Node controls when their Script get to run.
By default ...
Top 50 recent answers are included
Related Tags
godot × 456gdscript × 79
2d × 43
collision-detection × 23
physics × 23
3d × 21
animation × 19
shaders × 18
tilemap × 18
c# × 15
camera × 14
rotation × 14
godot-4 × 14
platformer × 13
movement × 12
procedural-generation × 12
mathematics × 9
textures × 9
sprites × 9
path-finding × 9
unity × 8
gui × 8
rigidbody × 8
c++ × 7
blender × 7