@@ -102,7 +102,7 @@ var BABYLON;
configurable: true
});
ArcRotateCamera.prototype._getTargetPosition = function () {
- return this.target.position || this.target;
+ return this.target.getAbsolutePosition() || this.target;
};
// Cache
ArcRotateCamera.prototype._initCache = function () {
@@ -89,7 +89,7 @@
}
public _getTargetPosition(): Vector3 {