Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/behaviors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ creatura.register_movement_method("draconis:fly_simple", function(self)
local steer_to
local steer_timer = 0.25
local width = self.width
local wayp_threshold = width + (width / self.turn_rate)
local wayp_threshold = width + (width / (self.turn_rate or 6))

self:set_gravity(0)
local function func(_self, goal, speed_factor)
Expand Down