VoxelInstancerRigidBody
Collision node generated for every collidable multimesh instance created by VoxelInstancer.
Collision node generated for every collidable multimesh instance created by VoxelInstancer.
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.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Methods2
GetLibraryItemIdint
public int GetLibraryItemId();Gets the ID of the item in the instancer's VoxelInstanceLibrary that was used to create the instance having this collider.
intQueueFreeAndNotifyInstancervoid
public void QueueFreeAndNotifyInstancer();Alternative to queue_free in case you don't want to use call_deferred to add nodes under VoxelInstancer from VoxelInstanceLibraryMultiMeshItem._OnInstanceRemoved.