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 / Using MouseClick to move and object

Author
Message
inthepast
15
Years of Service
User Offline
Joined: 12th Feb 2009
Location:
Posted: 12th Feb 2009 15:02
Im trying to move a 3D Object on a Matrix..

The object is simply a square.. Each time I click the right mouse button I want the square to move to the selected co-ordinate on the matrix.. (not fussed about matrix height etc.)

I searched the forums and found something similar to this:


Each time I try and click on a 3D co-ordinate it.. no matter where on the screen I click.. it will always run down towards the bottom of my screen and eventually disappear past my camera.

Thanks in advance for your help.
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 14th Feb 2009 00:16
why are u using a matrix?

If u used an object u could use pick object to get the x,y,z.

Gatorules
15
Years of Service
User Offline
Joined: 17th Dec 2008
Location:
Posted: 17th Feb 2009 05:00
seeing code would help

Login to post a reply

Server time is: 2024-09-30 17:29:38
Your offset time is: 2024-09-30 17:29:38