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 / How do I make a player move?

Author
Message
Ben Hartnett
13
Years of Service
User Offline
Joined: 16th Dec 2010
Location:
Posted: 9th Jul 2011 04:46
I have searched the code base and can't find anything in regards to this question. What is the simplest way to make a player move in third person in all directions? The only commands that I see are the move object commands. However, these commands do not work with moving the player in all directions.
Sph!nx
15
Years of Service
User Offline
Joined: 3rd Dec 2008
Location: The Netherlands
Posted: 9th Jul 2011 09:28
Simplest and straightforward code is:

You can apply this also to rotate the object on individual axes with this to make the object turn any desired direction.


Regards Sph!nx
http://www.mental-image.net
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 9th Jul 2011 23:57 Edited at: 9th Jul 2011 23:59
Have a look to this piece of code of DTC forum.




Cheers.

I'm not a grumpy grandpa
Ramon156
13
Years of Service
User Offline
Joined: 13th Jul 2011
Location: Netherlands
Posted: 14th Jul 2011 01:19
This is what I use to make a 3d view for my character in a FPS game made in DBPRO

Login to post a reply

Server time is: 2024-11-22 18:47:04
Your offset time is: 2024-11-22 18:47:04