Reverse CameraProject()

Blitz3D Forums/Blitz3D Programming/Reverse CameraProject()

fox95871(Posted 2014) [#1]
I know how to get 2d to follow 3d, but how do you do the opposite? I want to be able to drag vertexes around a plane with the mouse, and it's doing that now, but extremely chaotically. Currently I have this in mind: make an extremely long narrow cylinder with one end attached to the camera, the center somehow following the mouse, and wherever the far end intersects the ground plane, get readouts from there.


Stevie G(Posted 2014) [#2]
Make the plane pickable and use camerapick.


fox95871(Posted 2014) [#3]
Thanks, that worked. I must have dismissed PickedX, Y, and Z thinking just being able to click meshes would be enough.