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 Physics & Dark A.I. & Dark Dynamix / FPS Character controller

Author
Message
General Reed
18
Years of Service
User Offline
Joined: 24th Feb 2006
Location:
Posted: 28th Mar 2008 21:23
I have an idea for an fps character controller. Basicly a sphere which rolls around, as spheres do, but gets pushed using a global forced in the direction the camera is pointing. However im not good a trig, and i need to know how to calculate the x and z forces for the direction.
Can anyone help me out???
thanks

CPU: AMD X2 6000+ 3.0ghz GFX: NVIDIA BFG Geforce 8800GTS 640MB OC-550mhz core RAM: 2048mb

monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 29th Mar 2008 12:34
This is untested but it should work.




player_force = The total force for the player i.e. move speed
force_x = the force to apply in the x direction (global co-ord's)
force_z = the force to apply in the z direction (global co-ord's)


Hope this helps.

Much good work is lost for the lack of a little more.
General Reed
18
Years of Service
User Offline
Joined: 24th Feb 2006
Location:
Posted: 29th Mar 2008 17:01
Ok thanks for that

CPU: AMD X2 6000+ 3.0ghz GFX: NVIDIA BFG Geforce 8800GTS 640MB OC-550mhz core RAM: 2048mb

Login to post a reply

Server time is: 2024-09-16 20:15:50
Your offset time is: 2024-09-16 20:15:50