Commit Graph

8 Commits

Author SHA1 Message Date
Francois Belair
89e4dc4c2b Fix velocity reversal bug in kinematic agents
Fixes #40
2020-03-19 23:34:51 -04: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
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
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
36f2dcb522 Handle all warnings in GSAI* classes and demos 2020-02-11 13:36:06 -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