Skip to main content

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.

Constructors​

MemberWhat it is
CollidersToDisableWhenInteracting()Creates a CharacterCollisionController.CollidersToDisableWhenInteracting with default values.

Fields​

2 private and internal fields
MemberWhat it is
private ColliderGroup collidersToDisableBacking field for CollidersToDisable.
private Controller controllerBacking field for Controller.

Properties​

MemberWhat 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: