API Referencebezel
HingeJoint
Constraint allowing rotation about a hinge axis, with optional limits and motor.
Module: bezel
Constraint allowing rotation about a hinge axis, with optional limits and motor.
Declaration
export class HingeJoint extends Joint { ... }Extends: Joint
Properties
axis1
axis1: Normal3d;axis2
axis2: Normal3d;angleLimits
angleLimits: AngleLimits;motor
motor: Motor;Methods
beforePhysics
override beforePhysics(): void;breakJoint
Breaks the physical constraint between the joint members.
override breakJoint(): void;