ConvexResult

nape.geom.ConvexResult (final 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 Members

@private


nape
normal: Vec2

The normal of the surface at collision.


nape
position: Vec2

The position of the collision.


nape
toi: Float

The time of impact to the collision


The shape which was collided against.


nape
dispose(): Void

Release ConvexResult object to pool.


nape
toString(): String

@private

Returns
String

nape
new(): Void

@private

Private Members

Metadata

Name Parameters
:final -