linearVelocity property
Implementation
Vector3 get linearVelocity {
final handle = _handle;
return handle == null
? _linearVelocity
: _sim!.readBodyLinearVelocity(handle);
}
Implementation
set linearVelocity(Vector3 value) {
_linearVelocity = value;
final handle = _handle;
if (handle != null) _sim!.setBodyLinearVelocity(handle, value);
}