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.UseParts0Individual 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.UseCollider1The 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.UseHitbox2A 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)。日本語の解説は、このサイトで独自に書いたものです。

執筆:鈴木孝昌官公庁のWeb・システム開発を担当する現役プロジェクトマネージャー。沖縄マイクラ部 クロスウェーブで、ロブロックス(Roblox)・マインクラフト(マイクラ)・Scratchなどのプログラミングを指導。マイクラカップ沖縄代表チームを指導(第6回・第7回、第7回TBS賞)。
沖縄マイクラ部で、子どもたちにロブロックス(Roblox)やマインクラフト(マイクラ)のプログラミングを教えています。プロフィールと編集方針
Instagramで教室の様子を見る
noteで記事を読む