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.

Constructor

new()

@private

Variables

read onlynormal:Vec2

The normal of the surface at collision.

read onlyposition:Vec2

The position of the collision.

read onlyshape:Shape

The shape which was collided against.

read onlytoi:Float

The time of impact to the collision

@:value(null)zpp_inner:ZPP_ConvexRayResult = null

@private

Methods

inlinedispose():Void

Release ConvexResult object to pool.

@:keeptoString():String

@private