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.

Dark GDK / terrain.lib and darkai.lib conflict

Author
Message
The Real Abaddon
16
Years of Service
User Offline
Joined: 26th Jun 2008
Location:
Posted: 24th Feb 2009 13:12 Edited at: 24th Feb 2009 13:39
Using dbGetTerrainGroundHeight i get this error

Removing that command solves the problem but i can not get the Y position of the object and my object floats arround. Anyone knows a fix ?
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 24th Feb 2009 17:26
What I did was comment out the command and make my own with dbIntersectObject, works for me.

Keep it simple.
Questions? Mail me
The Real Abaddon
16
Years of Service
User Offline
Joined: 26th Jun 2008
Location:
Posted: 24th Feb 2009 19:28
I don't understand to well that command, can you show me an example ?
The Real Abaddon
16
Years of Service
User Offline
Joined: 26th Jun 2008
Location:
Posted: 25th Feb 2009 13:43 Edited at: 25th Feb 2009 14:00

Is this right ? how should i handle this ?

The function is always returning me 0 even if the object is in air.
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 25th Feb 2009 21:12
mh-m, aint got my sourcecode here, but if u gimme a lill time ill post it.

Keep it simple.
Questions? Mail me
Warspawn
19
Years of Service
User Offline
Joined: 6th Apr 2005
Location: Arizona
Posted: 17th Mar 2009 04:07
just bought DarkAI, I had to comment out all terrain.lib and .h files to get it to link as well. Same problem.

anyone have a good solution to this?

-Warspawn
SuperSnake
15
Years of Service
User Offline
Joined: 19th Mar 2009
Location:
Posted: 19th Mar 2009 19:48
Me too. I just bought Dark Physics and Dark AI and am having the same problem. At first Dark AI was conflicting with Sparky's Collision, but I replaced Sparky's Collision with Dark Physics commands and now that problem's gone. But I'm still having problems with the Terrain commands. Please Help!

Login to post a reply

Server time is: 2024-09-30 19:28:53
Your offset time is: 2024-09-30 19:28:53