CollisionInfo

Variables

Name

Type

Description

otherEntity

Entity

The Entity that collided with the current Entity.

normal

Math::vec3

The normal of the intersection.

depth

float

The depth of the intersection.

relativePoints

std::vector<Math::vec3>

The list of intersection points relative to the current Entity, in local-space.