mirror of
https://github.com/APercy/airutils.git
synced 2025-07-15 10:46:42 -04:00
initial lib_copter
This commit is contained in:
parent
30c7525103
commit
e12f018879
8 changed files with 660 additions and 72 deletions
|
@ -411,7 +411,7 @@ function airutils.testImpact(self, velocity, position)
|
|||
self._last_touch = 0
|
||||
if not self._ground_friction then self._ground_friction = 0.99 end
|
||||
|
||||
if self._ground_friction > 0.97 then
|
||||
if self._ground_friction > 0.97 and self.wheels then
|
||||
minetest.sound_play("airutils_touch", {
|
||||
--to_player = self.driver_name,
|
||||
object = self.object,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue