MCPcopy Create free account
hub / github.com/ByteArena/box2d / SetMaxForce

Method SetMaxForce

DynamicsB2JointFriction.go:264–267  ·  view source on GitHub ↗
(force float64)

Source from the content-addressed store, hash-verified

262}
263
264func (joint *B2FrictionJoint) SetMaxForce(force float64) {
265 B2Assert(B2IsValid(force) && force >= 0.0)
266 joint.M_maxForce = force
267}
268
269func (joint B2FrictionJoint) GetMaxForce() float64 {
270 return joint.M_maxForce

Callers

nothing calls this directly

Calls 2

B2AssertFunction · 0.85
B2IsValidFunction · 0.85

Tested by

no test coverage detected