Contents

SushiEngine

subject_takeover

Scalar subject_takeover(Scalar object_surface_distance, Scalar ground_clearance, Scalar object_radius, Scalar body_radius) noexcept

Parameters

NameTypeDescription
object_surface_distanceScalar
ground_clearanceScalar

A real height above the ground, not the range to the mean sphere.

object_radiusScalar
body_radiusScalar

Returns

Scalar

Description

Returns how much a nearby object governs the look law against the ground under it.

See also

engine/foundation/core/include/README.md