Skip to main content

DynamicChain

ClassTypeNameInterface Description
DynamicChain : DynamicComponentVariablesdamping : number

Damping (Motion Energy Dissipation Coefficient)

Example

chain.damping = 0.3;
ClassTypeNameInterface Description
DynamicChain : DynamicComponentVariableselasticity : number

Elasticity (Linear Motion)

Example

chain.elasticity = 0.8; 
ClassTypeNameInterface Description
DynamicChain : DynamicComponentVariablesstiffness : number

Stiffness (Rotational Stiffness)

Example

chain.stiffness = 2.0; 
ClassTypeNameInterface Description
DynamicChain : DynamicComponentVariablesinertia : number

Inertia

Example

chain.inertia = 1.5;
ClassTypeNameInterface Description
DynamicChain : DynamicComponentVariablesforce : Vector3f

External Force

Example

chain.force = new APJS.Vector3f(0, 9.8, 0);
ClassTypeNameInterface Description
DynamicChain : DynamicComponentVariablesisLocalForce : boolean

Whether it is a force in local coordinates

Example

chain.isLocalForce = false;
ClassTypeNameInterface Description
DynamicChain : DynamicComponentVariablesisRelative : boolean

Whether to rotate relatively

Example

chain.isRelative = false;
ClassTypeNameInterface Description
DynamicChain : DynamicComponentVariablesphysicsAnimation : boolean

Whether to enable physical animation blending (only for objects with animations)

Example

chain.physicsAnimation = false;
ClassTypeNameInterface Description
DynamicChain : DynamicComponentVariablesphysicsAnimationRate : number

Physical animation blend ratio ranges from 0 to 1, where 0 represents full physics and 1 represents full animation

Example

chain.physicsAnimationRate = 0.7;
Copyright © 2025 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalCookies