getOrDefault

open fun getOrDefault(@NonNull defaultVelConstraint: VelConstraint, @NonNull defaultAngVelConstraint: VelConstraint): MinVelConstraint

Get a built MinVelConstraint object with the specified constraints.

Return

The built MinVelConstraint object.

Parameters

defaultVelConstraint

The default translation velocity constraint to use if no constraint is specified.

defaultAngVelConstraint

The default angular velocity constraint to use if no constraint is specified.