DynamicChain
Class | Type | Name | Interface Description |
---|---|---|---|
DynamicChain : DynamicComponent | Variables | damping : number | Damping (Motion Energy Dissipation Coefficient) |
Example
chain.damping = 0.3;
Class | Type | Name | Interface Description |
---|---|---|---|
DynamicChain : DynamicComponent | Variables | elasticity : number | Elasticity (Linear Motion) |
Example
chain.elasticity = 0.8;
Class | Type | Name | Interface Description |
---|---|---|---|
DynamicChain : DynamicComponent | Variables | stiffness : number | Stiffness (Rotational Stiffness) |
Example
chain.stiffness = 2.0;
Class | Type | Name | Interface Description |
---|---|---|---|
DynamicChain : DynamicComponent | Variables | inertia : number | Inertia |
Example
chain.inertia = 1.5;
Class | Type | Name | Interface Description |
---|---|---|---|
DynamicChain : DynamicComponent | Variables | force : Vector3f | External Force |
Example
chain.force = new APJS.Vector3f(0, 9.8, 0);
Class | Type | Name | Interface Description |
---|---|---|---|
DynamicChain : DynamicComponent | Variables | isLocalForce : boolean | Whether it is a force in local coordinates |
Example
chain.isLocalForce = false;
Class | Type | Name | Interface Description |
---|---|---|---|
DynamicChain : DynamicComponent | Variables | isRelative : boolean | Whether to rotate relatively |
Example
chain.isRelative = false;
Class | Type | Name | Interface Description |
---|---|---|---|
DynamicChain : DynamicComponent | Variables | physicsAnimation : boolean | Whether to enable physical animation blending (only for objects with animations) |
Example
chain.physicsAnimation = false;
Class | Type | Name | Interface Description |
---|---|---|---|
DynamicChain : DynamicComponent | Variables | physicsAnimationRate : 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;