Skip to content

AvatarSettingsHitAndTouchDetectionMode

Not yet Enum

Determines whether hit detection and spatial queries use the individual body parts or the single collider when AvatarCollisionRules.CollisionMode is AvatarSettingsCollisionMode.SingleCollider.

Not implemented in Nova

This enum is missing from Nova. Scripts that reference it will fail.

Description

Determines whether BasePart.CanTouch (hit detection) and BasePart.CanQuery (spatial queries) are routed to the individual avatar body parts or to the single collider part. Only takes effect when AvatarCollisionRules.CollisionMode is AvatarSettingsCollisionMode.SingleCollider; in other collision modes it is ignored.

Items

Item Value Status Notes
UseParts 0 Not yet Individual avatar body parts handle Touched events and spatial queries (CanTouch and CanQuery enabled on body parts) while the single collider part has CanTouch and CanQuery disabled. This…
UseCollider 1 Not yet The single collider part handles Touched events and spatial queries (CanTouch and CanQuery enabled on the collider) while all individual body parts have CanTouch and CanQuery disabled.

Roblox reference: AvatarSettingsHitAndTouchDetectionMode