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

Method ResetRestitution

DynamicsB2Contact.go:282–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

280}
281
282func (contact *B2Contact) ResetRestitution() {
283 contact.M_restitution = B2MixRestitution(contact.M_fixtureA.M_restitution, contact.M_fixtureB.M_restitution)
284}
285
286func (contact B2Contact) GetTangentSpeed() float64 {
287 return contact.M_tangentSpeed

Callers

nothing calls this directly

Calls 1

B2MixRestitutionFunction · 0.85

Tested by

no test coverage detected