Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1387124 Posts in 66517 Topics- by 59070 Members - Latest Member: Xin Music

January 20, 2021, 12:06:23 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)Need help with flocking
Pages: [1]
Print
Author Topic: Need help with flocking  (Read 60 times)
Ivan Dooray
TIGBaby
*


View Profile
« on: January 06, 2021, 04:24:21 AM »

I have a window application where entities (pigs) float across the screen. http://cpp.sh/9bu7e
Problem is that I don't know if my flocking implementation is correct since they all act like only cohesion is taking place. https://gyazo.com/a73b38a30d714510b9d6711520126bef
They do not seem to act natural and I feel like the forces are not correctly implemented.
Would be great if I could get a screen share session with someone over any application to help me out with my school project so I can show all the code and explain everything a bit better.
« Last Edit: January 06, 2021, 05:11:39 AM by Ivan Dooray » Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic