[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
107
S
25
G
230
Posts: 4,357
Reputation: 130,904

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
107
S
25
G
230
Posts: 4,357
Reputation: 130,904

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
271
S
99
G
70
Posts: 7,267
Reputation: 75,769

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: 48
Reputation: 1,076

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
107
S
25
G
230
Posts: 4,357
Reputation: 130,904

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
26
S
11
G
2
Posts: 669
Reputation: 5,038

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
107
S
25
G
230
Posts: 4,357
Reputation: 130,904

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
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Mon Jun 29, 2015 3:26 pm

@irina

Tested on my pc, it always runs at 59 fps.
B
107
S
25
G
230
Posts: 4,357
Reputation: 130,904

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests