Hello folks, just started playing with Dark Physics, I'm not sure if it's buggy or I'm just missing anything, but when I adjust my gravity setting (from its default -9.8 to -100.0) it doesn't make a difference. I find with the scale I work at that the default is too slow - I work at a scale that satisfies my c-shop levels without having to make adjustments. This is a very, very simple scene set up - I'll attach the level model to this message as well.
Also, my second character controller doesn't do anything. It just sits there in mid air, no gravity at all.
[edit] I know why my character controller didn't work - simple error.
System (if it makes a difference with PhysX):
Windows 7 Professional 32-Bit
Intel Core 2 Duo 2.2ghz
2gb RAM
Intel GMA HD
Code:
`Start physics
phy start
`Adjust Gravity
phy set gravity 0.0, -100.0, 0.0
`Setup
autocam off
sync on
sync rate 60
cls
color backdrop 0
`Char
make object cube 1,40
phy make box character controller 1, 0, 91, 0, 20.0, 20.0, 20.0, 1, 1.5, 45.0
set shadow shading on 1
`NPC
make object cube 2, 40
phy make box character controller 2, 1000, 91, 100, 50.0, 50.0, 50.0, 1, 1.5, 45.0
`Level
load object "media/room.x", 3
set object ambient 3,100
phy make rigid body static mesh 3
do
`Get object position
x = object position x(1)
y = object position y(1)
z = object position z(1)
`have camera follow
position camera x-500,y+350,z
position light 0, x+500,y+350,z+500
point camera x,y,z
`control
if upkey()
phy move character controller 1,500.0
else
phy move character controller 1, 0.0
ENDIF
if leftkey() = 1 then turn object left 1,2
if rightkey() = 1 then turn object right 1,2
`debug data
text 0, 10, "X = " + str$(x)
text 0, 20, "Y = " + str$(y)
text 0, 30, "Z = " + str$(z)
`update
phy update
sync
LOOP