LinearVelocityクラス

クラス日本語解説は準備中

ひとことで言うと

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

公式の説明(英語):Applies force on an assembly to maintain a constant linear velocity.

クラスの関係

受け継いでいるクラス:Object → Instance → Constraint → LinearVelocity

プロパティ(14)

名前と書き方説明
ForceLimitMode
LinearVelocity.ForceLimitMode: ForceLimitMode
Determines how the constraint force will be limited.
ForceLimitsEnabled
LinearVelocity.ForceLimitsEnabled: boolean
Determines if the constraint force will be limited or if the physics solver can apply an unlimited force to achieve the target velocity.
LineDirection
LinearVelocity.LineDirection: Vector3
The normalized Vector3 direction for constraining the velocity along a line.
LineVelocity
LinearVelocity.LineVelocity: float
Float value of the velocity when Class.LinearVelocity.VelocityConstraintMode|VelocityConstraintMode is set to Enum.VelocityConstraintMode|Line.
MaxAxesForce
LinearVelocity.MaxAxesForce: Vector3
Maximum force along each axis that the constraint can apply to achieve the vector velocity. Only used if Class.LinearVelocity.ForceLimitsEnabled|ForceLimitsEnabled is true, Class.LinearVelocity.ForceLimitMode|ForceLimitMode is Enum.ForceLimitMode|PerAxis, and Class.LinearVelocity.VelocityConstraintMode|VelocityConstraintMode is Enum.VelocityConstraintMode|Vector.
MaxForce
LinearVelocity.MaxForce: float
Maximum magnitude of the force vector the constraint can apply.
MaxPlanarAxesForce
LinearVelocity.MaxPlanarAxesForce: Vector2
Maximum force along each axis that the constraint can apply to achieve the plane velocity. Only used if Class.LinearVelocity.ForceLimitsEnabled|ForceLimitsEnabled is true, Class.LinearVelocity.ForceLimitMode|ForceLimitMode is Enum.ForceLimitMode|PerAxis, and Class.LinearVelocity.VelocityConstraintMode|VelocityConstraintMode is Enum.VelocityConstraintMode|Plane.
PlaneVelocity
LinearVelocity.PlaneVelocity: Vector2
Vector2 value of the velocity in each tangent direction of the plane.
PrimaryTangentAxis
LinearVelocity.PrimaryTangentAxis: Vector3
The primary axis in the plane, when Class.LinearVelocity.VelocityConstraintMode|VelocityConstraintMode is set to Enum.VelocityConstraintMode|Plane.
ReactionForceEnabled
LinearVelocity.ReactionForceEnabled: boolean
Determines whether an equal and opposite reaction force is also applied to the assembly of Class.Constraint.Attachment1|Attachment1 when Class.LinearVelocity.RelativeTo|RelativeTo is Enum.ActuatorRelativeTo|Attachment1.
RelativeTo
LinearVelocity.RelativeTo: ActuatorRelativeTo
Sets the ActuatorRelativeTo property for the constraint.
SecondaryTangentAxis
LinearVelocity.SecondaryTangentAxis: Vector3
The secondary axis in the plane, when Class.LinearVelocity.VelocityConstraintMode|VelocityConstraintMode is set to Enum.VelocityConstraintMode|Plane.
VectorVelocity
LinearVelocity.VectorVelocity: Vector3
Vector3 velocity value when Class.LinearVelocity.VelocityConstraintMode|VelocityConstraintMode is set to Enum.VelocityConstraintMode|Vector.
VelocityConstraintMode
LinearVelocity.VelocityConstraintMode: VelocityConstraintMode
The mode of the constraint.

受け継いでいるメンバー

Constraint から受け継いでいるもの(6)

Active・Attachment0・Attachment1・Color・Enabled・Visible

Instance から受け継いでいるもの(46)

Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged

Object から受け継いでいるもの(4)

ClassName・GetPropertyChangedSignal・IsA・Changed

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

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