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(std::shared_ptr<CapsuleShape> inner, std::shared_ptr<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