setPosition method

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

Directly sets the world space position for entity to the given coordinates, skipping all collision detection.

Implementation

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