Search found 1 match

by Raymond
Sun Aug 06, 2023 2:58 pm
Forum: Request Help
Topic: Garbage collection deletes rigidbodies created via PhysicsServer3D (C#)
Replies: 2
Views: 5063

Garbage collection deletes rigidbodies created via PhysicsServer3D (C#)

So I'm creating rigidbodies with visuals via the PhysicsServer3D and RenderinServer, and everything is working fine until suddenly the garage collector kicks in and deletes everything. So how to prevent that and keep my rigidbodies around? Using Godot 4.2 Dev 2 and C#. Thanks in advance if anyone ca...