()
| 28 | } |
| 29 | |
| 30 | updatePosition() { |
| 31 | this._threeObject3D.position.set( |
| 32 | this._object.getX() + this._object.getWidth() / 2, |
| 33 | this._object.getY() + this._object.getHeight() / 2, |
| 34 | this._object.getZ() + this._object.getDepth() / 2 |
| 35 | ); |
| 36 | } |
| 37 | |
| 38 | updateRotation() { |
| 39 | this._threeObject3D.rotation.set( |