C# mixing mouse events
Archives Forums/Blitz3D SDK Programming/C# mixing mouse events
| ||
Forgive the noob question, but I'm new to Blitz3D and 3D in general. I'm currently using the trick mentioned here: http://www.blitzbasic.com/Community/posts.php?topic=70250 Basically by rendering to a panel, and then placing another panel right on top of the original panel, you can capture mouse clicking/movement from a Winform/C#. What happens though (I believe) is that the top panel blocks mouse input to the lower panel so I can't use any of the Blitz3D mouse functions like MouseSpeedX/Y. I'm writing an editor that allows object movement/editing through mouse controls. Camera picking is fine as I can supply the proper coords, but I can't figure out how to move an object in 3D space using 2d coords. Does anyone know a way around this (mixing mouse events from both Winforms and Blitz3D), or code for moving an entity given a destination coordinate in 2D? |