Skip to content

PhysicsConstraintSpring

Narta Xaymar Dirks edited this page Nov 17, 2026 · 1 revision
BlitzLLVM

PhysicsConstraintSpring 〔BlitzLLVM〕

PhysicsConstraintSpring:Void constraint:Int32, frequency:Float32, damping:Float32
Parameter Mode Type Default Description
constraint In Int32 required A distance or slider constraint.
frequency In Float32 required How fast the spring swings, in Hz. About 1 is soft, 10 is stiff.
damping In Float32 required 0 swings for a long time, 1 does not swing.

Description

〔BlitzLLVM〕 This command does not exist in the original Blitz products. BlitzLLVM adds it.

Makes the stops of a distance or slider constraint soft, like a spring, instead of hard. A frequency of 0 makes them hard again.

Differences

  • The original has no such command. This is an extension; programs that use it do not compile with the original Blitz3D.

Related Commands

PhysicsAngularDamping 〔BlitzLLVM〕, PhysicsAngularVelocity 〔BlitzLLVM〕, PhysicsApplyAngularImpulse 〔BlitzLLVM〕, PhysicsApplyForce 〔BlitzLLVM〕, PhysicsApplyForceAt 〔BlitzLLVM〕, PhysicsConstraintBreakForce 〔BlitzLLVM〕, PhysicsConstraintLimits 〔BlitzLLVM〕, PhysicsConstraintMotor 〔BlitzLLVM〕

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally