setRotation method

  1. @override
Future<void> setRotation(
  1. ThermionEntity entity,
  2. double rads,
  3. double x,
  4. double y,
  5. double z,
)
override

Directly sets the rotation for entity to rads around the axis {x,y,z}, skipping all collision detection.

Implementation

@override
Future<void> setRotation(
    ThermionEntity entity, double rads, double x, double y, double z) async {
  await _shim.setRotation(entity, rads, x, y, z).toDart;
}