Skip to content

CapsuleZone

class CapsuleZone : public Zone

A Zone built with an inner CapsuleShape and an outer CapsuleShape.

Functions

Name Description
CapsuleZone Constructs a new CapsuleZone.
GetFactor @inherit

Function Details

CapsuleZone

CapsuleZone(CapsuleShape* inner, CapsuleShape* outer)

Constructs a new CapsuleZone.

Parameter inner
The inner CapsuleShape.
Parameter outer
The outer CapsuleShape.

GetFactor

[[nodiscard]] AmReal32 GetFactor(const AmVec3& position) final

@inherit