mirror of
https://github.com/ElCeejo/creatura.git
synced 2025-03-15 04:11:24 +00:00
Improved Physics
This commit is contained in:
parent
2d8c851a33
commit
78d16d485b
1 changed files with 0 additions and 2 deletions
|
@ -986,10 +986,8 @@ end
|
|||
local function water_physics(self, pos, node)
|
||||
-- Props
|
||||
local gravity = self._movement_data.gravity
|
||||
local height = self.height
|
||||
-- Vectors
|
||||
pos.y = pos.y + 0.01
|
||||
local surface_pos = pos
|
||||
if minetest.get_item_group(node.name, "liquid") < 1 then
|
||||
self.object:set_acceleration({
|
||||
x = 0,
|
||||
|
|
Loading…
Add table
Reference in a new issue