|
Kanda Interactions 0.7.1
|
For each entity that has ThresholdAttachable and Attachable, check the distance between its position and its owner's position if it's under ThresholdAttachable.Distance then we disable Attachable and vice versa. More...
Inheritance diagram for UpdateThresholdAttachablesJob:Public Member Functions | |
| void | Execute (in LocalTransform localTransform, in LocalToWorld localToWorld, in ThresholdAttachable thresholdAttachable, Entity entity) |
Public Attributes | |
| ComponentLookup< LocalTransform > | TransformLookup |
| ComponentLookup< LocalToWorld > | LocalToWorldLookup |
| ComponentLookup< Attachable > | AttachableLookup |
For each entity that has ThresholdAttachable and Attachable, check the distance between its position and its owner's position if it's under ThresholdAttachable.Distance then we disable Attachable and vice versa.