API Reference

Class List

ContactPoint

Object holding the result of a contact between two Entities.

Summary

Properties

impulse

The total accumulated impulse applied by the constraint solver during the last sub-step.

localPoint

The point on the entity where the contact occurred, relative to the entity.

localPointOther

The point on the other entity where the contact occurred, relative to the other entity.

normal

The normal vector of the contact on the other entity, in world space.

point

The point on the entity where the contact occurred, in world space.

pointOther

The point on the other entity where the contact occurred, in world space.

Details

Properties

numberimpulse

The total accumulated impulse applied by the constraint solver during the last sub-step. Describes how hard two objects collide.

Vec3localPoint

The point on the entity where the contact occurred, relative to the entity.

Vec3localPointOther

The point on the other entity where the contact occurred, relative to the other entity.

Vec3normal

The normal vector of the contact on the other entity, in world space.

Vec3point

The point on the entity where the contact occurred, in world space.

Vec3pointOther

The point on the other entity where the contact occurred, in world space.