Skip to main content

HingeJoint

A 3D hinge joint.

TypeNameInterface Description
VariablesmaxAngle: number

Function: Maximum allowed relative rotation around the hinge axis, in degrees. This limit is measured between the two connected bodies and is used only when is enabled.

VariablesminAngle: number

Function: Minimum allowed relative rotation around the hinge axis, in degrees. This limit is measured between the two connected bodies and is used only when is enabled.

VariablesuseLimits: boolean

Function: Enables or disables hinge angle limits. When false, the hinge falls back to the full engine-supported range instead of using and .

Functionsconstructor()

Examples

constructor()

let obj = new APJS.HingeJoint();

Use Case

@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use HingeJoint here
}
onUpdate(deltaTime: number) {
}
}
Copyright © 2026 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalTerms of ServicePrivacy PolicyCookies