Commit Graph

69 Commits

Author SHA1 Message Date
Xevion
b6812cc9a8 fix boids escaping edge wrappinig using Centering Velocity to force return to Rectangle, move velocity limiting logic into Util, abs vector function 2020-05-17 13:05:24 -05:00
Xevion
44fb0f3bfe Add local/global flock toggling, fixed serialized field filled with nulls, made Rule division floating point, make GetFlock a LINQ expression 2020-05-17 09:22:28 -05:00
Xevion
0a6ff38cee revert back to old Update/Wrapping to fix broken wrapping 2020-05-17 00:48:46 -05:00
Xevion
a4479aa653 attempts to fix, more debug print/text/label statements & cleanup 2020-05-17 00:39:41 -05:00
Xevion
b933decc4e add ReadOnly attribute script 2020-05-16 23:04:23 -05:00
Xevion
505211b9dc make most Boid properties private, use Renderer check for Wrapping visibility, broke ScreenWrap functionality again, Boid GameObject sibling index based naming, many new comments 2020-05-16 22:57:00 -05:00
Xevion
4d00d3b26a Boid optimize/fix wrapping checks 2020-05-16 22:31:52 -05:00
Xevion
76beeb9095 hide boidlist in inspector, fix ortho camera/rect implementation properly, move Boid movement functionality into Boid Update, get rid of NextUpdate 2020-05-16 22:25:29 -05:00
Xevion
aaec1923eb More cleanup making code cleaner, made Rectangle Boundaries automatically size to camera's view, automatic random boid placement, value tweaking 2020-05-16 22:01:15 -05:00
Xevion
2dffcdcf3b general cleanup, fix BoidController GetComponent referencing/performance issues, readying for feature implementation 2020-05-16 21:17:56 -05:00
Xevion
855aa23a0b fixed wrapping, prototype 'working' 2020-05-16 20:46:22 -05:00
Xevion
1dd037839e Major work with new Boid prefrab, configuring rules and attempt at camera wrapping - getting close to working prototype 2020-05-16 18:22:59 -05:00
Xevion
9825761f86 Add Triangle rendering 2020-05-16 13:06:05 -05:00
Xevion
5b16c736ee update Boid class for new Monobehavior structure 2020-05-16 13:05:48 -05:00
Xevion
5b049f2f24 fix access modifiers, start and update functions 2020-05-16 11:35:53 -05:00
Xevion
13808b8120 implement all basic flock rules 2020-05-16 11:21:11 -05:00
Xevion
e5588178eb basic Boids class setup 2020-05-16 10:42:49 -05:00
Xevion
39af1b95f7 add all files, project init 2020-05-16 09:19:27 -05:00
Xevion
5ebc31c4e1 add .gitignore 2020-05-16 09:18:55 -05:00