DecayKnowledgebase
functiongenerated

Physics.set_distance

Tunes an authored 2D maximum-distance constraint for the next fixed synchronization. Distance must be finite and positive. Works while suspended or before endpoints are built; preserves unknown fields and body motion. Requires physics and an authored distance joint.

Signature

Physics.set_distance(joint: Entity, max_distance: number) -> unit

Member of Physics

Related types

Entity

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b