Wiki
Box Collider Component
The BoxColliderComponent is used to add a box collider to an entity.
Description
The BoxColliderComponent
is used to add a box collider to an entity, through addition of a StaticBody
and CollisionShape
, enabling collision detection in a 3D environment.
Usage
- Attach the component to a game entity.
- Adjust the properties to customize the size and visibility of the box collider.
Dependencies
Has no dependencies.
Properties
size
- Type:
VECTOR3
- Description: Represents the size of the box collider. Adjusting this property changes the dimensions of the collision shape.
visible
- Type:
BOOL
- Description: Determines the visibility of the box collider on the world builder.
Requires the use of the Anitya server for downloading panorama images as assets.