Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / mouse drag to change an object?

Years of Service
User Offline
Joined: 3rd Jul 2003
Posted: 28th Apr 2005 00:39
Hi All,

I'm new to the SDK and haven't done anything in DBPro for a very long time, so I need some help.

I'd like to do what would seem to be a simple task, but I need to get the basics down before starting.

Is there a way to simply drag a created object with the mouse.

For example, after I create a sphere in a window, can I make changes to the coordinates/scale/rotation of the sphere by putting the mouse over it and dragging it with the left mouse button down (or other keys).

How would I do it?

Is it complex or simple?

Any help would be appreciated,
Years of Service
User Offline
Joined: 4th Jun 2004
Posted: 28th Apr 2005 12:05
Here is an example that will do what you want, I think. Ignore the commented out code. This is some of my reference code and it originally used a DARKMATTER object....


Login to post a reply

Server time is: 2023-02-02 14:11:51
Your offset time is: 2023-02-02 14:11:51