Hi there. I've got a problem where raycasting from a game object (specifically, a gun model's bullet spawn point) always seems to use the localspace coordinates, the result of which is that the ray's origin is always 0, 0, 0 (the centre-floor of the Vive play area).
It doesn't seem to matter if I try to use the bullet spawn point as a "hardcoded" Game Object or create a Game Object variable and refer to that, I just can't seem to get it to draw the ray from the actual Game Object -- it always draws it from the floor.
Even weirder, I seemed to "fix" this problem a week ago in one scene (by accident -- I have no idea what I did, but it seemingly started working as you'd expect it to), but when I copy
the exact same SteamVR camera rig into a new scene, the origin problem occurs again. :S
I know this has to be user-error on my part, but I'm stuffed if I can figure out what I'm doing wrong.
Any hints or tips gratefully received. Thanks in advance for your help.