Skip to content

Collider

class · namespace Hazel

public class Collider

Constructors

Collider()

public Collider()

Collider(ulong, Shape, Vector3)

public Collider(ulong entityID, Shape collisionShape, Vector3 offset)

Properties

CollisionShape

public Shape? CollisionShape { get; protected set; }

Entity

public Entity? Entity { get; }

Offset

public Vector3 Offset { get; protected set; }

RigidBody

public RigidBodyComponent? RigidBody { get; }

Methods

ToString()

public override string ToString()

Source: Hazel/Physics/Collider.cs