How to drag and drop from ObjectView to 3D space?
by Scott Peal · in General Discussion · 08/29/2009 (10:07 pm) · 2 replies
Has anyone got sample code or a resource pointer to how to do a drag and drop from an ObjectView control from a GUI onto the 3D scene space? I found the code to do a drag and drop from the GUI Library Control Palette to a GUI (guiEditorPalette.ed.cs), that seems to work with GUI type controls and not 3D objects.
Much appreciated!
Much appreciated!
About the author
Step 1) be the indie, step 2) make enough to buy a commercial license :)
#2
08/31/2009 (7:36 am)
I imagine that a GuiObjectView would provide a callback for 'on mouse down' events? I'd look into that. You'd need to figure out how to get an event for releasing the mouse in the world view, and create a character at the appropriate spot.
Torque Owner JesseL
Pyrotronics-Games