3d cursor

Hi all,
This is my first time in this forum, I hope you will accept me as a friend … :smile:

I have in mind the question of how make 3d cursor, i mean replace the main cursor with 3d plane, this 3d plane can move with mouse over box face, in horizontal coordinates (X,Z) not vertical (Y) … (ex. like Hockey ball can move on the ground face)

I do not know where the beginning of the road especially I’m beginner in unity and javascript…!
regards
iammfa

If thats the case, the ‘beginning of the road’ would be learning javascript first.

As for finding 3d coordinates and normals of a point under mouse:

To do this you need to use Raycast and take the position and normal where you are colliding from the RaycastHit struct. You can get a screen-to-world ray from the Camera.main functions. Good luck :slight_smile:

There’s some code in this thread that should give a start with raycasting.