1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-30 23:15:32 +01:00

Slippery nodes

Updated and improved 'slippery' factor in a new groups setting(I'd
prefer to have a new property, but that'd require a new protocol, which
may not be wished?  Suggestions?).

Modified from: Zeg9's: minetest#817
This commit is contained in:
cmdskp
2015-12-28 19:27:41 +00:00
parent 382ab969d4
commit e7a121c5d3
5 changed files with 23 additions and 6 deletions

View File

@@ -119,7 +119,7 @@ public:
m_speed = speed;
}
void accelerateHorizontal(v3f target_speed, f32 max_increase);
void accelerateHorizontal(v3f target_speed, f32 max_increase, int slippery);
void accelerateVertical(v3f target_speed, f32 max_increase);
v3f getPosition()