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 Physics & Dark A.I. & Dark Dynamix / Dark A.I Terrain Height

Author
Message
bergice
16
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 17th May 2008 00:36
I cannot seem to find a way to make my AI entities position correctly on the Y axis.

I am using overhanging cliffs and caves, and it is an object(plain).

I need the entities to position correctly on the y axis, and still be able to move and it must not screw up because of the terrain above itself.

I have tried alot of ways and i cant seem to figure it out.

Some help would be nice


Dont delete my sig mods, it is 600X120...
sindore
19
Years of Service
User Offline
Joined: 2nd Jul 2004
Location: Bedfordshire, UK
Posted: 18th May 2008 13:34
post you code and I`ll have a look and see what I can do.
are you using dark physics at the same time?
If not I may have some old code that mite help you out.

soul sucking devils, twisted body of the damed, slivering slim drips from ever poor, sin licking at your ears, and the smell stinging your eyes, and if you don't like it, get out of my kitchen!....
bergice
16
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 18th May 2008 22:00
Well, i have made a small demo of the RTS, to show you.


Dont delete my sig mods, it is 600X120...

Attachments

Login to view attachments
Airslide
19
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 22nd May 2008 04:55
I didn't try the demo but if you are using Advanced Terrain you can use:



DarkAI doesn't concern itself with the Y value, as this would complicate the AI to a whole new level.

If you are using a matrix just replace get terrain ground height with get ground height. If you are using an object, you'll have to do a raycast downwards from the bottom of the object or find another way to handle it.

bergice
16
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 22nd May 2008 14:10
Yes, i know.
But as i said, i need the entities to be "physical" so they can fall down from drops, go into caves and all.


Dont delete my sig mods, it is 600X120...

Login to post a reply

Server time is: 2024-05-19 21:12:47
Your offset time is: 2024-05-19 21:12:47