Hello, When trying to give an object made with Blitzwerks terrain commands a static mesh with dark physics, I get a "Supplied NxActorDesc is not valid. createActor returned NULL." error. (The "Static mesh" command works with everything else though, and I have the most up-to-date drivers for PhysX). Is this caused by the complexity of the terrain? am I just doing something wrong? does anyone know a way around this? I'd like to use Blitzwerks terrain with this, thanks ^^
PS: None of the "Phy make rigid body" commands work with an object made with Blitzwerks terrain.
_LoadTerrain:
Load image "files\world\terrain_detail.jpg",1
Load image "files\world\terrain_texture.jpg",2
Load image "files\world\512x512.bmp",3
Terrain1=BT maketerrain()
BT SetTerrainHeightmap Terrain1,3
BT SetTerrainTexture Terrain1,2
BT SetTerrainDetail Terrain1,1
BT SetTerrainScale Terrain1,15
BT SetTerrainYScale Terrain1,4.0
BT SetTerrainSplit Terrain1,8
BT SetTerrainDetailTile Terrain1,18.0
BT SetTerrainLOD Terrain1,3
BT SetTerrainLODDistance Terrain1,1,1000.0
BT SetTerrainLODDistance Terrain1,2,2000.0
BT SetTerrainSmoothing Terrain1,1
BT SetTerrainQuadRotation Terrain1,1
BT BuildTerrain Terrain1,1,1
BT EnableAutoRender 1
Position object 1,-3840,0,-3840
RETURN
_Phys:
Phy start
phy make rigid body static terrain 1
RETURN
Here's the terrain & physics sub routines, if these help any.
Thanks for any help!