queuePositionUpdate method
Future
queuePositionUpdate(
- ThermionEntity entity,
- double x,
- double y,
- double z, {
- bool relative = false,
override
Queues an update to the worldspace position for entity
to {x,y,z}.
The actual update will occur on the next frame, and will be subject to collision detection.
Implementation
@override
Future queuePositionUpdate(
ThermionEntity entity, double x, double y, double z,
{bool relative = false}) async {
_module.ccall(
"queue_position_update",
"void",
[
"void*".toJS,
"int".toJS,
"float".toJS,
"float".toJS,
"float".toJS,
"bool".toJS
].toJS,
[_sceneManager!, entity.toJS, x.toJS, y.toJS, z.toJS, relative.toJS]
.toJS,
null);
}