CollisionPlane

constructor(plane: Plane, pushLimit: Float = Float.MAX_VALUE, push: Float = 0.0f, clipVelocity: Boolean = true)

Parameters

plane

The collision plane between the mover and some shape

pushLimit

Setting this to Float.MAX_VALUE makes the plane rigid. Lower values make soft collision. Usually in meters.

push

The push on the mover determined by the solver. Usually in meters.

clipVelocity

Should the velocity be clipped against this plane? Should be false for soft collision.