Debug position of touch child objects not matching "real" position
This is difficult to describe but easy to see.
Basically, I have some "hands" controlled by touch using OVRInput.GetLocalControllerPosition/Rotation, one of which has a sword child object. On the tip of the sword object is another child object, which I've added a sphere mesh to to demonstrate the issue.
I intend to use this object's position to cast a ray, but when I use Debug.DrawRay(transform.position, transform.forward, Color.red) in a script attached to the object, you can see the results are nowhere near where the actual object is (which is getting rendered in its correct position).
I'm a bit stumped here. Anyone have any idea whats going on here?
Basically, I have some "hands" controlled by touch using OVRInput.GetLocalControllerPosition/Rotation, one of which has a sword child object. On the tip of the sword object is another child object, which I've added a sphere mesh to to demonstrate the issue.
I intend to use this object's position to cast a ray, but when I use Debug.DrawRay(transform.position, transform.forward, Color.red) in a script attached to the object, you can see the results are nowhere near where the actual object is (which is getting rendered in its correct position).
I'm a bit stumped here. Anyone have any idea whats going on here?
