Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Swarming Fun  (Read 2063 times)
beyonder
Moderator
Community Member
*****
Posts: 462


« on: September 24, 2010, 05:56:20 PM »

Here is a cool video of me testing some Swarming algorithms. They are used for simulating bird, or fish schools.

Here I was thinking of using them for adding things like chickens to my game.

About 1/3 thru the video the leader is activated making all the chickens follow him.

http://www.youtube.com/watch?v=VQ6MpapBNV8

 Grin
Logged

"And what I saw scared me to the depths of my miserable soul. It was true, it was all a sham, it ain't real." - The Thirteenth Floor
Mithrandir
Community Member
*
Posts: 325


« Reply #1 on: September 24, 2010, 06:03:24 PM »

Having more chicken never hurts Wink

But aren't you missing separation behaviour?
Logged
arnienet
Customers
Community Member
*****
Posts: 263


WWW
« Reply #2 on: September 25, 2010, 08:38:54 AM »

very amusing  Cool, is it just for fun or are you thinking of developing it into something?
I've just started some AI for enemies to pursue an avatar, let me know if you need the
calc direction from source point to target point based on x and z (there might be a bug,
but I found a work around).
Logged

Total Dev time = 50% to code, 50% to test, 50% to find errors, 50% to fix, that's why it takes twice as long.

Dawn World MMO
beyonder
Moderator
Community Member
*****
Posts: 462


« Reply #3 on: September 25, 2010, 11:19:47 AM »

thanks

I pretty much got to code doing what I want it to do except for collisions. I'm going to use it for sheep, chickens, and birds.

Here are some birds in flight. I added a 3rd dimension to my algy so that they can fly in space.  Cheesy

http://www.youtube.com/watch?v=co4Q8Gv5s3I
Logged

"And what I saw scared me to the depths of my miserable soul. It was true, it was all a sham, it ain't real." - The Thirteenth Floor
WEst
Customers
Community Member
*****
Posts: 945

Daniel Martinek


WWW
« Reply #4 on: September 25, 2010, 01:33:17 PM »

This looks very cool, great work!
Logged

Greetings

Daniel Martinek
Technical Director
23 Volts
beyonder
Moderator
Community Member
*****
Posts: 462


« Reply #5 on: September 28, 2010, 06:27:35 PM »

Thanks WEst! Here is one last test of the swarming algorithm.

It's kinda funny!  Grin Grin

http://www.youtube.com/watch?v=ZnzQ6zh9Ijg




Logged

"And what I saw scared me to the depths of my miserable soul. It was true, it was all a sham, it ain't real." - The Thirteenth Floor
Raul
Customers
Community Member
*****
Posts: 550

I like games.


WWW
« Reply #6 on: September 29, 2010, 01:32:01 PM »

@beyonder: The AXE effect  Cheesy
Logged

WEst
Customers
Community Member
*****
Posts: 945

Daniel Martinek


WWW
« Reply #7 on: September 29, 2010, 04:43:41 PM »

@beyonder: The AXE effect  Cheesy

Definitely! XD
Logged

Greetings

Daniel Martinek
Technical Director
23 Volts
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks