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.

Newcomers DBPro Corner / Aligning mouse x/y/z 0,0,0; with player position x/y/z?

Author
Message
Sladeh_boi
12
Years of Service
User Offline
Joined: 18th Jul 2012
Location:
Posted: 16th Sep 2012 22:45
Hi i'm having a problem aligning the mouse 0,0,0/X,Y,Z with my player object X,Y,Z. I've tried a few equations, but haven't figured out a way to make the base mouse cords X,Y change according to the base position of the player.

The game i'm writing uses 3d shapes but only makes use of the X and Y planes. So all I need is a way to set the mouse cords X,Y/0,0 to the player object cords X,Y.

Any help would be appreciated.
Thanks Rich

Meep
nonZero
13
Years of Service
User Offline
Joined: 10th Jul 2011
Location: Dark Empire HQ, Otherworld, Silent Hill
Posted: 17th Sep 2012 09:46
-Samethread-
I'm gonna reply in your first thread.

Sladeh_boi
12
Years of Service
User Offline
Joined: 18th Jul 2012
Location:
Posted: 17th Sep 2012 14:20
@ non zero
yeah sorry, didn't realise until i posted it a second time that because im a new member it takes awhile for the post to appear.

Newb error

Meep

Login to post a reply

Server time is: 2024-11-22 00:33:21
Your offset time is: 2024-11-22 00:33:21