I followed the instructions from [GDExtension C++ example](https://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/gdextension_cpp_example.html). Here is my code: ```c++ static CreatureServer *cs_signleton = NULL; void initialize_creature_server(ModuleInitializationLevel p_level) { if...
I'm making a 3D Survivors-like game and I'm trying to get as many enemies in the game as possible. I'd really appreciate some ideas on how to improve this. What I have working right now: - Every enemy is a static mesh with the animation done in a shader. - Every 0.2 seconds, the enemy's Area3D is sy...
Any idea how to create a Distance Constraint between two points on two PhysicsBody3Ds? The physical scenario I'm trying to model is two bodies which are connected by a rope, but not at their center of mass. I looked at the different joints, but I don't think any of them will give the equivalent of a...
I have a bunch of different effects applied via spatial shaders. Example: burning, frozen, shocked, etc. I'm trying to make these compostable so that it is easy to add/remove the effect. I can think of two solutions: Add/remove the shader from the object material's "Next Pass" and stack the material...
I'm running into an issue where I have two control nodes overlapping and they aren't behaving how I'd expect. I found this in the docs "Changing the Z index of a Control only affects the drawing order, not the order in which input events are handled" mentioned here in "Node - z-index" But
How do I import built-in types in gdscript? For example, I want to use a Shape2D in a script which doesn't seem to have a definition for Shape2D. extends Node u/export var direction: Vector2 = Vector2(0, 0) u/export var collision_shape = RectangleShape2D(Vector2(64, 64)) func get_relative_direction(...