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 / character controller problem

Author
Message
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 22nd Apr 2007 21:48
my cc doesnt keep falling.

im trying to come up with some code for my player.i was testing the cc.it falls off the edge and doesnt keep falling.check this code:

Lance
21
Years of Service
User Offline
Joined: 22nd Jul 2003
Location: Third planet from Sun
Posted: 23rd Apr 2007 00:04
I tested your code and the cube did fall off the edge...
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 23rd Apr 2007 04:59
yes but it doesnt keep falling like its supposed to!
bosskeith
18
Years of Service
User Offline
Joined: 5th Dec 2005
Location:
Posted: 2nd Jun 2007 23:08 Edited at: 2nd Jun 2007 23:15
dont know if anyone has answered you david but there is an invisible floor that is active that you can turn on and off...default is on

been a while since i have done any fiddling with dark physics

now that i think about it gravity does not work on the char controller unless the char is actualy moving...keep pressing forward it will fall.

Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 2nd Jun 2007 23:53
you have to keep using phy move character controller in your loop to keep moving your cc moving. So just put phy move character controller 2,0.0 in your loop and it should work fine.

Current Projects - Zio Engine: RPG Engine and OMMO

David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 4th Jun 2007 03:12
"invisible floor"?? really?
Codger
22
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 4th Jun 2007 07:13
Set the ground plane on if you want an invisible floor



remember in needs to be before phy start

System
PIV 2.8 MZ 512 Mem
FX 5600 256 mem

Login to post a reply

Server time is: 2024-11-24 19:36:50
Your offset time is: 2024-11-24 19:36:50