|
SuperDex Physics C++ API
|
Used by ContactFilter to enable or disable contact for a pair of actors. More...
#include <mochi_prefab.h>
Public Member Functions | |
| bool | operator== (ActorContactEntry const &) const =default |
Public Attributes | |
| DynamicArray< DynamicString > | actors |
| Identifies two actors by name or hierarchy path. | |
| bool | enable = true |
| Enable (true) or disable (false) contact for the specified pair of actors. | |
| bool | includeNestedActors = true |
| Whether expandable parent actor names should include nested actors. | |
Used by ContactFilter to enable or disable contact for a pair of actors.
Definition at line 47 of file mochi_prefab.h.
|
default |
| DynamicArray<DynamicString> superdex::prefab::ActorContactEntry::actors |
Identifies two actors by name or hierarchy path.
If the actor is in this prefab, then reference it by name, e.g., "myActor". If the actor is in a nested prefab, then reference it by hierarchy path, e.g., "myPrefab/myActor".
Definition at line 49 of file mochi_prefab.h.
| bool superdex::prefab::ActorContactEntry::enable = true |
Enable (true) or disable (false) contact for the specified pair of actors.
Definition at line 48 of file mochi_prefab.h.
| bool superdex::prefab::ActorContactEntry::includeNestedActors = true |
Whether expandable parent actor names should include nested actors.
When true, a parent actor name resolves to the parent actor plus nested actors. The contact setting is applied to every ordered pair in the cross-product of the two resolved actor sets; no pairs outside that cross-product are affected. If the resolved sets overlap, pairs in the overlap, including self-pairs, are affected. When false, the contact setting applies only to the exact named actors.
Definition at line 50 of file mochi_prefab.h.