Josh Anthony
22dc7c751a
Stop agents from processing when they are outside of the scene tree ( #55 )
2021-09-02 10:44:08 -04:00
Francois Belair
53cad0f660
Fix angular velocity clamped to accel
2021-06-14 20:26:31 -04:00
volzhs
5b5ca11b03
Fix global_position for KinematicBody3DAgent ( #52 )
...
Use `global_transform.origin` instead of `global_position`
2021-06-07 23:24:36 -04:00
Francois Belair
49cc6ef696
Clean spawner code
2020-12-28 12:09:56 -05:00
CodeDoes
d1c87d96b3
Make group members show their radius on click
...
* GroupBehaviours Demo: Click on member to see radius
* fixed groupbehaviour demo
2020-12-28 12:08:14 -05:00
Francois Belair
84e52bfd79
Remove bak files
2020-08-23 12:30:38 -04:00
Francois Belair
16cc3efb43
Bring demos back in. Remove refs to demos repo.
...
Fixes #45
2020-08-23 12:25:09 -04:00
Nathan Lovato
f73a972ad1
Update README
...
Closes #47
2020-07-04 10:09:51 -06:00
Francois Belair
4d4c7213ba
Fix spec. agents at position 0,0,0 on first frame
2020-05-24 13:00:40 -04:00
Francois Belair
ca1a7088c5
Split project, turn framework into submodule
...
Fixes #38
2020-05-14 13:45:46 -04:00
Nathan Lovato
38baf344a8
Update README
2020-05-12 13:42:09 -06:00
Francois Belair
083450e019
Fix agents trying to use body instead of weakref
...
Fixes #43
2020-05-08 12:42:45 -04:00
Nathan Lovato
a2d0258ff1
Update doc-comments to use JSDoc style
2020-04-02 18:31:59 -06:00
Francois Belair
89e4dc4c2b
Fix velocity reversal bug in kinematic agents
...
Fixes #40
2020-03-19 23:34:51 -04:00
Francois Belair
beca7b9cc7
Clarify changelog entry
2020-03-04 08:13:26 -05:00
Francois Belair
192490b757
Make agents multiply acceleration by delta
...
This fixes the fact that acceleration wasn't treated as acceleration
over time, but was instant acceleration.
2020-03-03 14:47:03 -05:00
Nathan Lovato
a7d83af547
Update CHANGELOG
2020-02-23 11:13:13 -06:00
Francois Belair
2d3e763a80
Add category tags to API
2020-02-22 12:51:11 -05:00
Francois Belair
fbb92e3593
Replace body with WeakRef of body to fix crashes
...
When a physics body was freed by queue_free or free, it was possible
for the physics update to still happen on the specialized agent. The
Null body then caused a crash.
2020-02-20 12:24:55 -05:00
Nathan Lovato
68b85bb234
Format the code using gdformat
...
gdformat follows the official style guide, and handles line length and wrapping
lines for us.
2020-02-14 10:35:18 -06:00
Nathan Lovato
2940442b95
Update the readme
...
Removed the documentation, replaced it with links to the corresponding pages on
GDQuest.com/docs
Edited the intro
Added links to become a contributor, support us, and follow us
2020-02-13 21:18:33 -06:00
Nathan Lovato
5f07e5364b
Update the install section of the readme
2020-02-13 17:53:42 -06:00
Nathan Lovato
fa71f34efd
Add project icon
...
Closes #19
2020-02-13 17:51:21 -06:00
Nathan Lovato
e9dd3b8a1e
Improve the feel of the demos, update changelog
2020-02-13 13:34:22 -06:00
Nathan Lovato
1daade7ea3
Fix background not covering the entire viewport in some cases
2020-02-13 13:34:09 -06:00
Nathan Lovato
6edec919e8
Fixed error when double clicking an item in the DemoPicker
2020-02-13 12:01:48 -06:00
Francois Belair
ca1839c633
Add 3D demo and fix 3D agents
...
Closes #30 , closes #31 , closes #33
2020-02-13 03:51:48 -05:00
Nathan Lovato
534ade7282
Update code reference for the 2.0.0 release.
2020-02-11 13:41:34 -06:00
Nathan Lovato
36f2dcb522
Handle all warnings in GSAI* classes and demos
2020-02-11 13:36:06 -06:00
Nathan Lovato
04468a7d60
Fix errors when unloading demos with DemoPlayer
2020-02-11 13:31:15 -06:00
Nathan Lovato
f9b52fc24c
Remove print statement
2020-02-11 13:30:49 -06:00
Nathan Lovato
46dad32bfa
Increase the size of the demos' text box
2020-02-11 13:30:33 -06:00
Nathan Lovato
6d2016c9e9
Handle and remove warnings in GSAI* classes
2020-02-11 13:18:22 -06:00
Nathan Lovato
77f90b0c74
Remove warnings in the DemoPicker scene
...
Also turned off the setting for discarded return value warnings as it triggers
for many calls, including to built-in functions.
2020-02-11 13:15:29 -06:00
Nathan Lovato
692176be8e
Update changelog for the 2.0.0 release
2020-02-11 12:56:24 -06:00
Nathan Lovato
edd6f6d6d4
Add resizing support, increase default font size
...
Closes #21
2020-02-11 12:56:24 -06:00
Nathan Lovato
9870e03e81
Add F11 to toggle fullscreen
...
Part of #21
2020-02-11 12:56:24 -06:00
Nathan Lovato
7e98b2e785
Rename 3D physics body classes to *3DAgent
2020-02-11 12:56:24 -06:00
Nathan Lovato
7eb91a6165
Use GSAI as a class prefix instead of GST
...
GSAI for Godot Steering AI
2020-02-11 11:33:25 -06:00
Francois Belair
7241bc754b
Separate ArriveDemo's drawing from root node
...
Closes #26
2020-02-08 18:19:04 -05:00
Francois Belair
809b0c53df
Fix Seek/Flee demo boundaries not drawn correctly
...
Closes #27
2020-02-08 18:16:49 -05:00
Nathan Lovato
6132a0aa25
Refactor the demos to support screen resizing
...
Add BackgroudLayer and DemoInterface scenes that we can reuse across demos
Set the game to 2D and extend window modes
Part of #21
2020-02-08 15:40:43 -06:00
Nathan Lovato
8505f9ed46
Rephrase v1.1 changes in the CHANGELOG
2020-02-08 13:34:16 -06:00
Nathan Lovato
31e6e3630a
Update the banner
2020-02-08 13:33:57 -06:00
Francois Belair
0b1dab0f5d
Update changelog
2020-02-08 12:54:12 -05:00
Francois Belair
18931a9623
Fix FollowPath loops back to start on open paths
...
Fixes #18
2020-02-08 12:05:24 -05:00
Francois Belair
5627a5636a
Fix demo picker blank scene
...
It did not have a file path by default, but had an index.
Also, the camera on Seek/Flee caused the Go Back button not to show.
The scene's been amended and the camera removed, since it wasn't
actually useful.
2020-02-08 11:44:54 -05:00
Nathan Lovato
b6226d45b0
Remove comment
2020-02-08 09:43:00 -06:00
Nathan Lovato
8e04378b1c
Refactor and improve the demo picker
...
Improve the UI styles
Add a button to go back to the demo picker
Simplify the code that handles text
2020-02-08 09:36:06 -06:00
Francois Belair
7329758fd4
Add demo selector as main scene
...
Closes #20
2020-02-08 01:52:10 -05:00