Hello all,
I'm using the newest DarkPhysics and my mesh (advanced terrain) is saving out and (supposedly) loading fine... but there's no collision interactions what-so-ever with the loaded object... anyone know what could be the problem? Could it be DarkPhysics not liking limbs?
Function:
function setup_terrain()
gamedata(0).terrain.obj=b3d make object cube(1)
delete object gamedata(0).terrain.obj
make object terrain gamedata(0).terrain.obj
set terrain heightmap gamedata(0).terrain.obj,"terrain_heightmap.bmp"
set terrain scale gamedata(0).terrain.obj,5,1,5
set terrain split gamedata(0).terrain.obj,32
set terrain tiling gamedata(0).terrain.obj,4
set terrain light gamedata(0).terrain.obj,0.6,0.6,0.6,1.0,1.0,0.9,0.9
gamedata(0).terrain.texture_base=img load image("terrain_base.bmp")
gamedata(0).terrain.texture_detail=img load image("terrain_detail.bmp")
set terrain texture gamedata(0).terrain.obj,gamedata(0).terrain.texture_detail,gamedata(0).terrain.texture_base
build terrain 1
position object gamedata(0).terrain.obj,-100,-300,-100
phy load rigid body static mesh gamedata(0).terrain.obj,"terrain.phy"
endfunction
Yea... I know I make AND delete an object... it's a way to fix the issue with the eXtends plugin
Thanks in advance,
Jim
Intel Pentium 4 3.40 Ghz HT, 1.5 GB RAM, Nvidia Geforce 6800, 19" Dell CRT Monitor ... I need to upgrade ^-^