Kanda Interactions 0.7.1
Loading...
Searching...
No Matches
ThresholdAttachable Struct Reference

Allowing the attached entity to be detached when the distance between the attached entity and the owner entity is under the threshold distance. When the distance is over the threshold, the entity will be attached again to the owner. More...

+ Inheritance diagram for ThresholdAttachable:

Public Attributes

float DistanceSquared
 The threshold distance between the attached entity and the owner entity but squared.
 

Detailed Description

Allowing the attached entity to be detached when the distance between the attached entity and the owner entity is under the threshold distance. When the distance is over the threshold, the entity will be attached again to the owner.

The way we attach and detach is by enabling/disabling the Attachable component.


The documentation for this struct was generated from the following file: