Skip to main content

DynamicChain

APJS Script API reference for the DynamicChain class.

TypeNameInterface Description
Variablesdamping: number

Function: Gets the damping value of the dynamic chain which controls how quickly the chain movement slows down.

Returns The damping value of the dynamic chain.

Variableselasticity: number

Function: Gets the elasticity value of the dynamic chain which controls how bouncy the chain is.

Variablesforce: Vector3f

Function: the consistent external force applied to the dynamic chain

Variablesinertia: number

Function: Gets the total inertia of the dynamic chain which controls how fast the chain moves.

VariablesisLocalForce: boolean

Function: Gets whether the force applied to the dynamic chain is local or not.

VariablesisRelative: boolean

Function: Gets whether the force applied to the dynamic chain is relative to another object.

VariablesphysicsAnimation: boolean

Function: Gets whether animation physics blending is enabled for the dynamic chain.

VariablesphysicsAnimationRate: number

Function: Gets the animation physics blending value for the dynamic chain.

Variablesstiffness: number

Function: Gets the stiffness value of the dynamic chain which controls how stiff the chain is.

Functionsconstructor()

Examples

constructor()

let obj = new APJS.DynamicChain();

Use Case

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