Skip to content

physicsCore.solveContacts

JoeStrout edited this page Oct 17, 2026 · 1 revision

Solve contact impulses for one step, updating vel and the contacts' ColPn/ColPt in place

Parameters

Parameter Default Value Note
contacts
pos
vel
invMass
dt
iterations 10
biasFactor 0.2
slop 0.5
restThreshold 30

Return value

Condition Return Value
(always) number

Notes

Clone this wiki locally