nape.geom.ConvexResult

type
class
Class representing the results of a convex cast operation.

These objects are allocated from an object pool and can be released back to that pool by calling its dispose method.

Instance Properties

readonly var normal : Vec2

The normal of the surface at collision.

readonly var position : Vec2

The position of the collision.

readonly var shape : nape.shape.Shape

The shape which was collided against.

readonly var toi : Float

The time of impact to the collision

Instance Methods

inline function dispose():Void

Release ConvexResult object to pool.