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?

Author
Message
jayceeDB
20
Years of Service
User Offline
Joined: 3rd Jul 2003
Location:
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,
Thanks,
john...
roujesky
19
Years of Service
User Offline
Joined: 4th Jun 2004
Location:
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....

HTH

Login to post a reply

Server time is: 2024-04-19 22:07:53
Your offset time is: 2024-04-19 22:07:53