Hi @Adamc93 Could you try replacing your thumbPos and littlePos calculations with the following code? let thumbPos = simd_make_float3((anchors.originFromAnchorTransform * thumb.anchorFromJointTransform).columns.3) let littlePos = simd_make_float3((anchors.originFromAnchorTransform * little.anchorFromJointTransform).columns.3) The key difference here being that by multiplying by the originFromAnchorTransform matrix the positions you've calculated will then be in world-space (instead of anchor-space), which is the same coordinate space that it appears your wandEntity is in as well. Just to be safe you can also update the code that sets the translation and rotation of your wandEntity to the following to ensure that you are updating the world-space position and orientation of your entity (as opposed to the local-space translation and rotation): wandEntity.setPosition(midPos, relativeTo: nil) wandEntity.setOrientation(rotation, relativeTo: nil) Let me know if you have any other questions! P.S. Co
Topic:
Spatial Computing
SubTopic:
General
Tags: