HumanoidStateType列挙型(Enum)

列挙型(Enum)日本語解説は準備中

ひとことで言うと

HumanoidStateTypeは、ロブロックス(Roblox)の列挙型(Enum)です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。

公式の説明(英語):Describes the physics control states within the Humanoid.

選べる値(17)

名前値説明
Enum.HumanoidStateType.FallingDown0The Humanoid has been tripped, and will attempt to get up in a few moments.
Enum.HumanoidStateType.Ragdoll1(Deprecated) The Humanoid has been hit by a fast moving object (uncontrolled falling). _The Humanoid can recover from this._ This state has to be set and unset manually using Class.Humanoid:ChangeState().
Enum.HumanoidStateType.GettingUp2The Humanoid is getting back on their feet after FallingDown or Ragdoll.
Enum.HumanoidStateType.Jumping3The Humanoid just jumped. (Check Humanoid.Jump). This state lasts only briefly. This state normally transitions into either Landed, if on the ground, or Freefall, if still in the air.
Enum.HumanoidStateType.Swimming4The Humanoid is currently swimming in Terrain water.
Enum.HumanoidStateType.Freefall5The Humanoid is currently freefalling (jumped from a height or fell off a ledge).
Enum.HumanoidStateType.Flying6When set, the Humanoid won't be animated, as with the Humanoid.PlatformStand property. This state lasts as long as the player flies.
Enum.HumanoidStateType.Landed7The Humanoid touched the ground after a Freefall. This state lasts only briefly.
Enum.HumanoidStateType.Running8Currently running while on the ground.
Enum.HumanoidStateType.RunningNoPhysics10(Deprecated) Currently running and not near other physical objects.
Enum.HumanoidStateType.StrafingNoPhysics11Not currently used with default Humanoid. Cannot be set with Class.Humanoid:ChangeState().
Enum.HumanoidStateType.Climbing12The Humanoid is climbing (e.g. up a TrussPart or ladder).
Enum.HumanoidStateType.Seated13The Humanoid is currently sitting in a Seat or VehicleSeat. Check the Humanoid.Sit property.
Enum.HumanoidStateType.PlatformStanding14The Humanoid is platformstanding. Check the Humanoid.PlatformStand property.
Enum.HumanoidStateType.Dead15The Humanoid died. Changing a Humanoid's state to this state will kill it.
Enum.HumanoidStateType.Physics16The Humanoid doesn't apply any force on its own and will not automatically transition to any other state. This state has to be set and unset manually using Class.Humanoid:ChangeState().
Enum.HumanoidStateType.None18Unusable placeholder in case an unknown state gets triggered internally.

英語の説明とメンバーの一覧は、Roblox Creator Documentation(HumanoidStateType)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。

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