Hi, all!
Are there any helper functions to produce raycast ray from camera plane into the world for clicking
selection of 3D stuff? Also is there non-physical raycast into geometry like bvh raycast or something else efficiant?
Most of time I need it to select object in 3D scene, but who knows I might once want to draw on surface...
Thanks!
Clicking mouse on 3D view
-
slapin
- Bronze Sponsor

- Posts: 392
- Joined: Fri May 23, 2025 5:04 pm
- x 29
Clicking mouse on 3D view
-
paroj
- OGRE Team Member

- Posts: 2284
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1250
-
rpgplayerrobin
- Bugbear
- Posts: 806
- Joined: Wed Mar 18, 2009 3:03 am
- x 468
Re: Clicking mouse on 3D view
Here is my code to raycast any 3D model down to triangles:
viewtopic.php?p=551881#p551881
My project: https://imagindar.com/