setPosition method
Directly sets the world space position for entity
to the given coordinates, skipping all collision detection.
Implementation
@override
Future setPosition(
ThermionEntity entity, double x, double y, double z) async {
_module.ccall(
"set_position",
"void",
["void*".toJS, "int".toJS, "float".toJS, "float".toJS, "float".toJS]
.toJS,
[_sceneManager!, entity.toJS, x.toJS, y.toJS, z.toJS].toJS,
null);
}