www.ShoppingPodder.com

Leading Computer Shopping,
News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

Curved Paths for Autonomous Entities
   Shopping Podder - the Best of Computer Postings! Forum Index -> Computer Artificial Intelligence - Games  
View previous topic :: View next topic  
Author Message
aatishsalvi@gmail.com
Guest






PostPosted: Tue Aug 26, 2008 8:16 pm    Post subject: Curved Paths for Autonomous Entities Reply with quote

I'm building a simulator for a 2D sports game and I'd like my entities
to occasionally opt to use curved paths for avoidance, seeking etc.
rather than constantly moving in straight lines. Of course, I'd also
like the resulting paths to render smoothly when animating the
entities in question.

I'm considering having the entities use a simple quadratic bezier
curve (i.e 3 control points) to create a smooth path between two
points. My questions are as follows:

1) Is this total overkill and is there a simpler way to have more
natural looking curved motion?

2) If I do use the bezier curve is there a way to determine where the
apex of the curve will be before generating the entire curve (i.e.
just given the control points) and check to see if the entity is going
to run out of bounds?

Thanks in advance for the advice!
Back to top
Display posts from previous:   
   Shopping Podder - the Best of Computer Postings! Forum Index -> Computer Artificial Intelligence - Games  
Page 1 of 1
All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum