- Official Post
In the 1.22 example, hittest does not work on the object itself, but it does register a hit when one moves the mouse to the left/under of the motorcycle.
Thanks for this example!
This is a bug - internally the hittest-direction-vector wasn't initialized for screen-raycasts when no hotspot had the hittest setting enabled. The example works correctly when adding hittest=true to the threejs hotspot.
This will be fixed in the 1.22.2 release.
To make the motorcycles appear in the EXACT same location, I had to map the origin values of krpano obj to tx/ty/tz for threejs object.
In your example the obj and gltf files are differently centered.
E.g. try using the .obj file instead of the .gltf for the threejs hotspot.
About mapping - instead of using origin, set the image.ox/oy/oz to the same values as the hotspot tx/ty/tz settings. Then they would be at the same position.
Best regards,
Klaus