gpt-4o-2024-05-13· OpenAI
WildChat-4.8M (AI2)
unity: how to get position of cursor on plane at 0,0,0 without raycast
- User
unity: how to get position of cursor on plane at 0,0,0 without raycast
- Assistant
To get the position of the cursor on a plane without using raycasting in Unity, you can use some math involving screen coordinates and plane equations. Here's how you can achieve this: