setRotation method
Implementation
@override
Future setRotation(
ThermionEntity entity, double rads, double x, double y, double z) async {
var quat = Quaternion.axisAngle(Vector3(x, y, z), rads);
await setRotationQuat(entity, quat);
}
@override
Future setRotation(
ThermionEntity entity, double rads, double x, double y, double z) async {
var quat = Quaternion.axisAngle(Vector3(x, y, z), rads);
await setRotationQuat(entity, quat);
}