HingeConstraintクラス
ひとことで言うと
HingeConstraintは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Constrains its attachments to rotate about a single axis.
クラスの関係
受け継いでいるクラス:Object → Instance → Constraint → HingeConstraint
プロパティ(14)
| 名前と書き方 | 説明 |
|---|---|
ActuatorTypeHingeConstraint.ActuatorType: ActuatorType | Sets whether the rotation of the HingeConstraint is actuated and, if so, what kind of actuation it uses. |
AngularResponsivenessHingeConstraint.AngularResponsiveness: float | Specifies the sharpness of the servo motor in reaching the Class.HingeConstraint.TargetAngle|TargetAngle. |
AngularSpeedHingeConstraint.AngularSpeed: float | The desired angular speed a HingeConstraint with Class.HingeConstraint.ActuatorType|ActuatorType set to Enum.ActuatorType|Servo will attempt to maintain while rotating towards its Class.HingeConstraint.TargetAngle|TargetAngle. Measured in radians/second. |
AngularVelocityHingeConstraint.AngularVelocity: float | The angular velocity a HingeConstraint with Class.HingeConstraint.ActuatorType|ActuatorType set to Enum.ActuatorType|Motor will attempt to achieve. Measured in radians/second. |
CurrentAngleHingeConstraint.CurrentAngle: float | The current angle of the HingeConstraint. |
LimitsEnabledHingeConstraint.LimitsEnabled: boolean | Sets whether the HingeConstraint will limit the range of rotation. |
LowerAngleHingeConstraint.LowerAngle: float | The minimum rotation angle the HingeConstraint will allow if Class.HingeConstraint.LimitsEnabled|LimitsEnabled is true. |
MotorMaxAccelerationHingeConstraint.MotorMaxAcceleration: float | The maximum angular acceleration a HingeConstraint with Class.HingeConstraint.ActuatorType|ActuatorType set to Enum.ActuatorType|Motor can apply to achieve its Class.HingeConstraint.AngularVelocity|AngularVelocity. Measured in radians/second². |
MotorMaxTorqueHingeConstraint.MotorMaxTorque: float | The maximum torque a HingeConstraint with Class.HingeConstraint.ActuatorType|ActuatorType set to Enum.ActuatorType|Motor can apply when trying to reach its desired Class.HingeConstraint.AngularVelocity|AngularVelocity. |
RadiusHingeConstraint.Radius: float | The visualized radius of the HingeConstraint. |
RestitutionHingeConstraint.Restitution: float | How elastic Attachment connected by a HingeConstraint will be when they reach the end of the range when Class.HingeConstraint.LimitsEnabled|LimitsEnabled is true. Constrained between 0 and 1. |
ServoMaxTorqueHingeConstraint.ServoMaxTorque: float | The maximum torque a HingeConstraint with Class.HingeConstraint.ActuatorType|ActuatorType set to Enum.ActuatorType|Servo can apply when trying to reach its desired Class.HingeConstraint.TargetAngle|TargetAngle. |
TargetAngleHingeConstraint.TargetAngle: float | The target angle a HingeConstraint will attempt to rotate to if its Class.HingeConstraint.ActuatorType|ActuatorType is set to Enum.ActuatorType|Servo. Measured in degrees. |
UpperAngleHingeConstraint.UpperAngle: float | The maximum rotation angle the HingeConstraint will allow if Class.HingeConstraint.LimitsEnabled|LimitsEnabled is true. |
受け継いでいるメンバー
Constraint から受け継いでいるもの(6)
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)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(HingeConstraint)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。