New answers tagged

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 ...
Theraot's user avatar
  • 24.4k
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 ...
NibblyPig's user avatar
  • 151
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 ...
Theraot's user avatar
  • 24.4k
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 ...
TheJalfireKnight's user avatar
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 ...
Theraot's user avatar
  • 24.4k
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 ...
Theraot's user avatar
  • 24.4k
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. ...
Pikalek's user avatar
  • 10.8k
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. ...
Theraot's user avatar
  • 24.4k
1 vote

Un-pause game button not working

You are correct in that the _process, _physics_process, _input, and ...
Pikalek's user avatar
  • 10.8k
2 votes

Un-pause game button not working

The process_mode of the Node controls when their Script get to run. By default ...
Theraot's user avatar
  • 24.4k

Top 50 recent answers are included