Offset initialization for virtual-coupling object
In VirtualCouplingObject.cpp:
- virtualCoupling->initOffsets() &
- updateFromDevice() {computeTrackingData(p, r)}
- It will give wrong coordinates if mesh is loaded and then relocated/reoriented. The virtualCoupling->initOffsets() is called when simulation mode starts. All translation/rotation made will be treated as offset, which is not always the case.
- Considering set two different offset? One for tool-mesh offset, one for mesh offset to its original position.