CharacterCollisionController.CollidersToDisableWhenInteracting
A class in Root.Township, Alta.Character.
Inspector pairing of a hand Controller with the body colliders to turn off while that hand holds a pickup, so the held item doesn't hit the player's own body.
- Listed in Players and characters
- Nested in
CharacterCollisionController
Constructors
| Member | What it is |
|---|---|
CollidersToDisableWhenInteracting() | Creates a CharacterCollisionController.CollidersToDisableWhenInteracting with default values. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private ColliderGroup collidersToDisable | Backing field for CollidersToDisable. |
private Controller controller | Backing field for Controller. |
Properties
| Member | What it is |
|---|---|
ColliderGroup CollidersToDisable { get; set; } | The collider group ignored while that hand holds a pickup, then re-enabled after a short delay when it lets go. |
Controller Controller { get; } | The hand controller whose Interactor is watched for interactions starting and ending. |
Used in
Members of other types that take, return or hold a CollidersToDisableWhenInteracting: