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 / Getting my model to follow Dark AI.

Author
Message
cyangamer
16
Years of Service
User Offline
Joined: 2nd Jun 2008
Location: Houston, TX, USA
Posted: 15th Feb 2009 13:15 Edited at: 15th Feb 2009 13:18
Well, in order to have Dark Physics and Dark AI run smoothly together, I have to do some stuff that may seem unorthodox. With that said, part of this requires that the AI Entity and the model be separate. This also requires that I used an alternate collision method, since Dark Physics' isn't that good.

Here's the point: I'm trying to get the model to "follow" the path that the Dark AI entity is taking. (Red = AI Entity, Blue = model)



However, this doesn't work because once the model gets within range of the AI point, it starts spinning around. I don't know why -- it just does. So, to circumvent this, I thought of instead of the model pointing towards the AI Entity, it points toward a location past the entity, like so:


How to I make it "look past" the point, so to speak?

EDIT: I'm sorry the IMG tags don't work; you'll have to copy and paste to the address bar.

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.
bergice
17
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 28th Feb 2009 17:23
Quote: "However, this doesn't work because once the model gets within range of the AI point, it starts spinning around. I don't know why -- it just does"


This is because you move the controller with a specific speed, so when its distance from the ai entity is for example 0.5 and you move the controller 1 unit towards the ai it will move to far and then it will circle forth and back, you must use a method to make it go directly to the center when its getting close.

NEW: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40ghz 4gb ram 32-bit | OLD: 3.19GHz - 7600GT - 1GB - Windows XP
Visit my youtube profile: http://www.youtube.com/user/bergice1

Login to post a reply

Server time is: 2024-11-24 20:00:55
Your offset time is: 2024-11-24 20:00:55