Skip to main content

SpringJoint

A 3D spring joint.

TypeNameInterface Description
Variablesdamping: number

Function: User-facing damping control for this spring joint from 0 to 1. Larger values make oscillation die out faster, so the connected bodies stop bouncing and settle sooner.

Variablestolerance: number

Function: User-facing softness control for this spring joint from 0 to 1. Larger values let the connected bodies stretch or compress farther from their rest distance before the spring pulls back strongly.

Functionsconstructor()

Examples

constructor()

let obj = new APJS.SpringJoint();

Use Case

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