![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Stoozey |
New to GDScript, I want to make a 3D object follow the mouse on one axis.
I’ve searched for a while now and really can’t find any answers so I’m asking here. Thank you!
If by follow, you mean to to it’s position, you gotta use navigation. I won’t describe that, read the documentation about it. As for getting the position of the cursor in 3d, you gotta raycast from the camera. I advise you to read up about recasting for that
KijeviGombooc | 2019-07-23 10:42