linearVelocity property

Vector3 get linearVelocity

Implementation

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

Implementation

set linearVelocity(Vector3 value) {
  _linearVelocity = value;
  final handle = _handle;
  if (handle != null) _sim!.setBodyLinearVelocity(handle, value);
}