setRestitution method
Sets body's bounciness.
Implementation
@override
void setRestitution(int body, double restitution) {
if (_gone || !_mine(body)) return;
JPH_BodyInterface_SetRestitution(_bodyInterface, _id(body), restitution);
}
Sets body's bounciness.
@override
void setRestitution(int body, double restitution) {
if (_gone || !_mine(body)) return;
JPH_BodyInterface_SetRestitution(_bodyInterface, _id(body), restitution);
}