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 / [DBP] Character controller gravity??

Author
Message
Interplanetary Funk
14
Years of Service
User Offline
Joined: 19th Apr 2010
Location: Ipswich, United Kingdom
Posted: 28th Apr 2010 23:54
Basically, the "phy set gravity x, y, z" command isn't working on my character controller, no matter what I set it to the character controller always falls at the same rate. Any help would be great =)

here's my source:
Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 4th May 2010 00:00
Character controllers are just refined versions of kinematic actors so they are not affected by gravity, you need to add your own.
A simple way is to just move it down every frame, when it hits the floor it will appear to come to rest.

Login to post a reply

Server time is: 2024-11-24 15:54:45
Your offset time is: 2024-11-24 15:54:45