ShapeProxy

data class ShapeProxy(val points: List<Vec2>, val radius: Float = 0.0f)

A convex shape proxy used for distance and cast queries.

Parameters

points

The point cloud (max 8 vertices)

radius

The external radius of the point cloud (may be zero)

Constructors

Link copied to clipboard
constructor(points: List<Vec2>, radius: Float = 0.0f)

Properties

Link copied to clipboard
Link copied to clipboard