VoxelInstancerRigidBody¶
Inherits: RigidBody3D
Collision node generated for every collidable multimesh instance created by VoxelInstancer.
Description:¶
Instances generated from VoxelInstanceLibraryMultiMeshItem don't use nodes to render. However, they can be given collision, in the form of body nodes using this class.
Calling queue_free() on an instance of this node will also unregister the instance from VoxelInstancer.
Methods:¶
| Return | Signature |
|---|---|
| int | get_library_item_id ( ) const |
| void | queue_free_and_notify_instancer ( ) |
Method Descriptions¶
int get_library_item_id( )¶
Gets the ID of the item in the instancer's VoxelInstanceLibrary that was used to create the instance having this collider.
void queue_free_and_notify_instancer( )¶
Alternative to queue_free in case you don't want to use call_deferred to add nodes under VoxelInstancer from VoxelInstanceLibraryMultiMeshItem._on_instance_removed.
Generated on Jan 26, 2026