class nape.geom.ConvexResult

Available on all platforms

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 Fields

var normal:Vec2

The normal of the surface at collision.

var position:Vec2

The position of the collision.

var shape:Shape

The shape which was collided against.

var toi:Float

The time of impact to the collision

function new():Void

@private

function dispose():Void

Release ConvexResult object to pool.

function toString():String

@private