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.

DarkBASIC Professional Discussion / Blitzwerks terrain & Dark Physics?

Author
Message
HellsDevilDog
15
Years of Service
User Offline
Joined: 18th Mar 2011
Location: Ohio
Posted: 8th Dec 2011 09:39 Edited at: 8th Dec 2011 09:47
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.



Here's the terrain & physics sub routines, if these help any.

Thanks for any help!
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 8th Dec 2011 16:13 Edited at: 8th Dec 2011 16:14
BlitzTerrain doesn't create DBPro objects, in the sense that you think it does. You need the 'BT Create Physics Object' command. (I think) You generate a real object from a BT sector, then use that with DarkPhysics.

My signature is NOT a moderator plaything! Stop changing it!

Login to post a reply

Server time is: 2026-07-10 23:13:08
Your offset time is: 2026-07-10 23:13:08