AvatarSettingsTouchAndQueryDetectionMode列挙型(Enum)
列挙型(Enum)日本語解説は準備中
ひとことで言うと
AvatarSettingsTouchAndQueryDetectionModeは、ロブロックス(Roblox)の列挙型(Enum)です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Determines whether touch detection and spatial queries use the individual body parts, the single collider, or a separate hitbox when AvatarCollisionRules.CollisionMode is AvatarSettingsCollisionMode.SingleCollider.
選べる値(3)
| 名前 | 値 | 説明 |
|---|---|---|
Enum.AvatarSettingsTouchAndQueryDetectionMode.UseParts | 0 | 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 is the default value for AvatarCollisionRules.TouchAndQueryDetectionMode. |
Enum.AvatarSettingsTouchAndQueryDetectionMode.UseCollider | 1 | 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. |
Enum.AvatarSettingsTouchAndQueryDetectionMode.UseHitbox | 2 | A separate, noncolliding, massless hitbox part sized by AvatarCollisionRules.HitboxSize handles Touched events and spatial queries (CanTouch and CanQuery enabled on the hitbox) while the single collider and all individual body parts have CanTouch and CanQuery disabled. Like the collider, the hitbox hangs from the top of the body and rests on the floor when it is taller than the body, so it can reach the floor without changing what the character stands on or steps over. The hitbox is removed when the character dies. |
英語の説明とメンバーの一覧は、Roblox Creator Documentation(AvatarSettingsTouchAndQueryDetectionMode)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。