Commit Graph

39 Commits

Author SHA1 Message Date
Priyatham Sai Chand 262667e8dd
navmesh variable name change 2022-11-08 22:47:32 -08:00
Priyatham Sai Chand 5ba7f9feb2
navmesh refactor 2022-11-08 12:59:46 -08:00
Priyatham Sai Chand c72f9bc768
refactor and navmesh color change 2022-11-07 12:38:40 -08:00
Priyatham Sai Chand ce71745c1d Merge branch 'main' of https://github.com/JH159753/GameAILab1 2022-11-02 14:57:06 -07:00
Priyatham Sai Chand f03eb0ceb9 better variable names 2022-11-02 14:57:02 -07:00
JH159753 b673d12089 fix last target code because i broke it 2022-11-02 02:26:04 -07:00
JH159753 7851363a56 add a max speed instead
Messing with the acceleration was not the way; we needed larger arrival threshold and a max speed
2022-11-02 02:13:46 -07:00
JH159753 4f5e668b3a add slower acceleration dependent on angle 2022-11-02 01:44:36 -07:00
JH159753 e428c1793b minor changes 2022-11-02 01:13:08 -07:00
Priyatham Sai Chand 677492eb09 Merge branch 'main' of https://github.com/JH159753/GameAILab1 2022-10-31 13:00:04 -07:00
Priyatham Sai Chand 155e804b95 fix last convex polygon 2022-10-31 12:59:15 -07:00
JH159753 e9802c54ac fix weird merge breaking stuff 2022-10-30 23:55:33 -07:00
JH159753 385a1a9354
Delete Boid17200078021981803956.autosave 2022-10-30 23:50:55 -07:00
JH159753 88967458d9
Delete Boid10419224425232634497.autosave 2022-10-30 23:50:48 -07:00
JH159753 ce0baa87b5
Delete Boid1037558311854801587.autosave 2022-10-30 23:50:43 -07:00
JH159753 19fe85e1fc
Delete Boid10308162985695495767.autosave 2022-10-30 23:50:38 -07:00
JH159753 97517f736f Merge branch 'main' of https://github.com/JH159753/GameAILab1 2022-10-30 23:49:12 -07:00
JH159753 8722922ec8 add even smoother movement for boid 2022-10-30 23:49:09 -07:00
Priyatham Sai Chand a41403e080 add navmesh comments 2022-10-30 18:33:11 -07:00
Priyatham Sai Chand dab7ff47ef navmesh 2022-10-30 18:27:14 -07:00
JH159753 3d16b646a8 add dynamic slowdown dependent on angle
The boid will now slow down less if the angle created by the line from it to its target and the line from the target to the next one is nearly a straight line.
2022-10-29 03:27:49 -07:00
JH159753 a460deb7ca progress towards smoother boid movement 2022-09-28 02:07:57 -07:00
JH159753 d5574b6cfd add seeking multiple targets
This version still slows down even if not necessary.
2022-09-28 01:22:40 -07:00
JH159753 6c01c80bfa revert to my most recent change 2022-09-27 20:57:11 -07:00
Priyatham Sai Chand b5b641fe64 add do-while waypoints 2022-09-26 22:29:18 -07:00
Priyatham Sai Chand 771f7b5324 boid merge resolve 2022-09-26 22:16:20 -07:00
Priyatham Sai Chand fff97d36b5 add waypoints code 2022-09-26 22:03:24 -07:00
JH159753 a066cdcf78 fix boid incorrect rotation 2022-09-26 18:10:59 -07:00
JH159753 6bf5b1c544 add comment about fixing stuttering 2022-09-21 17:56:28 -07:00
JH159753 219cecdbd8 fix boid stuttering 2022-09-21 17:40:29 -07:00
JH159753 281449a4ff add more precise stopping 2022-09-21 02:41:48 -07:00
JH159753 fba0dbe885 add boid pathfinding 2022-09-21 02:04:57 -07:00
JH159753 200336bba5 add atan2 2022-09-20 15:37:41 -07:00
JH159753 d99cf5bdc9 add print heading and speed 2022-09-20 14:17:08 -07:00
JH159753 c426940320 Update sketch.properties 2022-09-20 13:56:35 -07:00
Priyatham Sai Chand 2c05cf78e7 delete sketch props 2022-09-20 13:55:11 -07:00
Priyatham Sai Chand 8dd8bd4c55 add sketch prop 2022-09-20 13:27:16 -07:00
JH159753 580b49ae55 Provided framework, no changes 2022-09-17 02:45:09 -07:00
JH159753 8b1db96d91 Initial commit 2022-09-17 02:44:14 -07:00