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 Collision

Author
Message
Biny08
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Location:
Posted: 23rd Nov 2015 05:50
I have been trying to add collision to my terrain, to no avail. Whats the best way to add collision for where my camera/player will stop falling through?
kaedroho
16
Years of Service
User Offline
Joined: 21st Aug 2007
Location: Oxford,UK
Posted: 23rd Nov 2015 20:28
Hi yangladesh

BlitzTerrains are rendered differently to regular DBPro objects, which makes them incompatible with most collision systems.

There's a workaround for this though, you can use the "BT MAKETERRAINOBJECT" command to construct an invisible DBPro object from your terrain that you can pass to a collision plugin.
Biny08
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Location:
Posted: 25th Nov 2015 05:30
I have that, but no configuration I do works. I'm not sure what the deal is.
Biny08
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Location:
Posted: 25th Nov 2015 06:42
I'm using that, but every configuration I have is not working. It's the strangest thing. I am even unsure if my start player has collision, and if that's the issue. I have no idea, since it seems both are set correctly.

Login to post a reply

Server time is: 2024-04-24 12:05:01
Your offset time is: 2024-04-24 12:05:01