Update entities.lua

This commit is contained in:
Alexsandro Percy 2023-03-01 16:36:28 -03:00 committed by GitHub
parent 4f4c8317bf
commit d359b5adca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -515,7 +515,7 @@ minetest.register_entity("ap_airship:airship", {
local sdir = minetest.yaw_to_dir(newyaw)
local snormal = {x=sdir.z,y=0,z=-sdir.x} -- rightside, dot is negative
local prsr = ap_airship.dot(snormal,nhdir)
local rollfactor = -15
local rollfactor = -4
local newroll = 0
if self._last_roll ~= nil then newroll = self._last_roll end
--oscilation when stoped