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 / making a object follow a curser?

Author
Message
flashing snall
19
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 1st Feb 2006 23:37
i think this uses the mousemove commands but im messing with them but i cant seem to figure it out! can anyone help me?

dont assume cause ull make an ass out of you and me!
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 1st Feb 2006 23:51
do you have dbpro? You can use vectors for that kind of thing.

flashing snall
19
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 2nd Feb 2006 00:03
yea i have DBpro

dont assume cause ull make an ass out of you and me!
crighton
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: In your soup.
Posted: 3rd Feb 2006 16:11
Just try and use another object that tracks the x and y of the mouse.

mousex()=x : mousey()=z

position object number,x,0,z

this would simulate actuall position in 3d space, then just get the next(object following) object to follow the other controlled by the mouse.

But to control y is a different story, havent done that yet, i usually just follow the terrain/ground/matrix height for the y.



Why are the forgotten always remembered? But no-one remembers me?!
Cliff 3degs network
21
Years of Service
User Offline
Joined: 23rd May 2003
Location: Sweden
Posted: 3rd Feb 2006 18:42
this is the most perfect mouse cursor to 3d i have found in the code base and i use it my self.(it is 100% ind all angles)
http://www.thegamecreators.com/?m=codebase_view&i=c9a3bc09bb306c709b038dd606c11c7a
yust make the object you want to point in the cursor objects direction and make it move there.
is this wath you want?

AMD ATHLON 64 3200+ AGP8X 1GB RAM 1MB CACHE.ATI RADEON 9800PRO 128MB AGP8X.

Login to post a reply

Server time is: 2024-11-27 05:29:36
Your offset time is: 2024-11-27 05:29:36