change transform order for relative setPosition to SRT
This commit is contained in:
1 parent
48a1c6dc0b
commit
6561af6825
3 files changed
+7
-3
No files matched your search
@@ -73,7 +73,7 @@ class EntityTransformController {
|
||||
updateTranslation = true;
|
||||
}
|
||||
|
||||
// todo - better to use pitch/yaw/roll
|
||||
// TODO - use pitch/yaw/roll
|
||||
bool updateRotation = false;
|
||||
var _rotation = v.Quaternion.identity();
|
||||
|
||||
@@ -92,7 +92,6 @@ class EntityTransformController {
|
||||
relative: true);
|
||||
}
|
||||
if (updateRotation) {
|
||||
var axis = _rotation.axis;
|
||||
await controller.setRotationQuat(_entity, _rotation, relative: true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user