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 AI Movement on terrain

Author
Message
The Real Abaddon
16
Years of Service
User Offline
Joined: 26th Jun 2008
Location:
Posted: 26th Jan 2009 21:28
Hi, i have DP and DAI my map is a terrain, i created a character controller and a little of tweaking and made myself a player, now i added some entities added this for the entities:

but my entities doesn't respect the terrain.
I`ve also added this

but still the same problem.

I`m using DP for physics in the game but how do i apply the physics to the enemy entities that are using DAI ?
Gosub
17
Years of Service
User Offline
Joined: 23rd Sep 2007
Location:
Posted: 27th Jan 2009 13:35
Try manipulating the movement of the characters via the ground height of a matrix overlaying your landscape?
Coldfire
16
Years of Service
User Offline
Joined: 22nd Oct 2008
Location: Indiana
Posted: 27th Jan 2009 17:41
i also have dark ai, but have yet to actually use it...

reading through the docs tho, it seems as tho what you need to do is use dark ai in manual mode, instead of automatic.

like i said tho, i could be wrong

as for the physics, there is also a discussion toward the end of the chm that talks about the complexities of using dark ai with dark physics. i think it roughly translates to keep physics off characters until removed from ai.

"They say beer will make me dumb / It are go good with pizza" - Psychostick
cyangamer
16
Years of Service
User Offline
Joined: 2nd Jun 2008
Location: Houston, TX, USA
Posted: 28th Jan 2009 07:56 Edited at: 28th Jan 2009 07:56
So you're using DP for your collision and along with the Dark AI? Things get a little more complicated when you try to use them together unless you know what you're doing. For using Dark AI and Dark Physics together fluidly, I recommend checking out this topic: http://forum.thegamecreators.com/?m=forum_view&t=109308&b=30

Hope that helped at least a little!

Currently working on - Enemy AI using Dark A.I. I probably should've looked at the reviews in the Dark Physics and Dark A.I. forum first.
SAAB Driver
19
Years of Service
User Offline
Joined: 1st Nov 2005
Location:
Posted: 29th Jan 2009 21:54
Im having the same problem =/

Hello!
The Real Abaddon
16
Years of Service
User Offline
Joined: 26th Jun 2008
Location:
Posted: 1st Feb 2009 00:58
Almost did it...i mean it should work now but i`m having a problem, using the code from that post gets me into another problem, i don't know how to use the Y axis.

i`m using this code

but when the game starts the entity just keeps rising, any Y number set does the same, if i set it lower he goes down, bigger, goes up and not stopping.

How do i solve this one ?

Thanks in advance!
The Real Abaddon
16
Years of Service
User Offline
Joined: 26th Jun 2008
Location:
Posted: 3rd Feb 2009 14:31
anyone ?
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 3rd Feb 2009 15:15
what happens if you set y to zero each loop when nothing is going on.

Dark Physics makes any hot drink go cold.
The Real Abaddon
16
Years of Service
User Offline
Joined: 26th Jun 2008
Location:
Posted: 3rd Feb 2009 15:44
he just disappears off-map....anyway, my terrain has slopes and i want the entity to move according to the terrain and setting it to 0 will just stay on that point of axis or in this case it doesn't even stay there...theortical should stay on that point but it didn't.

Login to post a reply

Server time is: 2024-11-24 18:45:57
Your offset time is: 2024-11-24 18:45:57