How to use physics.raycast?

"And 3d object in your scene is a threejs object. " you meant any right?

by user 263967078346653697

yes sorry :slightly_smiling_face:

okay then its all clear

by user 263967078346653697

um the problem is that my raycaster script doesnt load up

by user 263967078346653697

could you help me with that?

by user 263967078346653697

by user 263967078346653697

it exists here

by user 263967078346653697

i tried putting it both on main scene gltf object

by user 263967078346653697

and on main camera in scene 2

by user 263967078346653697

start function and update function doesnt trigger

by user 263967078346653697

theres no error of missing script

by user 263967078346653697

by user 263967078346653697

image.png

by user 263967078346653697

name the same everywhere

by user 263967078346653697

i think i know

by user 263967078346653697

raycaster might be used somewhere else

by user 263967078346653697

yep that wasit

by user 263967078346653697

sorry

by user 263967078346653697

what can i do if the scripts are not updating

by user 263967078346653697

okay um so i have to delete the script fully and create it again

by user 263967078346653697