[behavior] rex_boids

Post your completed addons to share with the community

Post » Wed Mar 18, 2015 7:26 am

Update:
Add document.


@Kyatric
Please help me to move this topic to "Completed Addons" section.
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568

Post » Wed Mar 18, 2015 7:31 am

@irina

Yes, I did not add collision avoidance with neighbors in this case, to make them grabbing feed crazily no matter they are bumping together.
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568

Post » Wed Mar 18, 2015 12:30 pm

Moved.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,332
Reputation: 71,306

Post » Fri Jun 19, 2015 3:28 pm

ThanksI rextaimbow, looking in to moving groups. This sounds promising.
working on Rally Racing
B
8
S
1
G
2
Posts: 49
Reputation: 1,078

Post » Wed Jun 24, 2015 4:03 pm

I noticed some funky behavior with the alignment forces, and I looked at the code. It seems like you are using a naive average for angles, which can sometimes result in odd things such as -170 and 170 averaging to 0 instead of 180
B
14
S
5
G
1
Posts: 189
Reputation: 1,536

Post » Wed Jun 24, 2015 5:56 pm

@bladedpenguin

Thanks, I had updated this behavior. I first change angle(radians) to clamped degree which is 0~360, then get average of degree. Finally turn back average degree to angle(radians).
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568

Post » Wed Jun 24, 2015 8:48 pm

@rexrainbow

Hi, is it possible to set boids to follow something... like a leader of flock?
If he moves, flock moves... if he stops the flock stops...

tnx!
B
31
S
13
G
2
Posts: 752
Reputation: 5,541

Post » Thu Jun 25, 2015 2:32 am

@irina

Yes, this behavior only provides a leading angle, designer need apply this angle by itself in event sheet.
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568

Post » Thu Jun 25, 2015 9:59 am

@rexrainbow

thanx... ill fiddle with options to see what i can come up with.
One question... your capx in FF starts with 50 fps and after minute or even less drops to 10 ... :(
is that normal?
B
31
S
13
G
2
Posts: 752
Reputation: 5,541

Post » Mon Jun 29, 2015 3:26 pm

@irina

Tested on my pc, it always runs at 59 fps.
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests