Class ConvexHullCollider
Represents a 3D convex hull collider behavior for physics interactions.
Inherited Members
Namespace: Genesis.Core.Behaviors.Physics3D
Assembly: Genesis.dll
Syntax
public class ConvexHullCollider : ColliderBehavior3D
Remarks
Provides functionality to create and manage a convex hull-shaped collider for detecting collisions in a 3D physics world.
Constructors
ConvexHullCollider(PhysicHandler)
Initializes a new instance of the ConvexHullCollider class with the specified physics handler.
Declaration
public ConvexHullCollider(PhysicHandler physicHandler)
Parameters
Type | Name | Description |
---|---|---|
PhysicHandler | physicHandler | The physics handler to associate with this convex hull collider. |
Methods
CreateCollider(int, int)
Creates the convex hull collider based on the parent's shape.
Declaration
public override void CreateCollider(int collisionGroup = -1, int collisionMask = -1)
Parameters
Type | Name | Description |
---|---|---|
int | collisionGroup | |
int | collisionMask |