mirror of
https://github.com/APercy/automobiles_pck
synced 2025-09-27 13:26:23 +02:00
set stop variable local
This commit is contained in:
parent
0126072653
commit
1accd39d73
@ -451,6 +451,7 @@ minetest.register_entity("automobiles_buggy:buggy", {
|
||||
later_speed*buggy.LATER_DRAG_FACTOR*-1*automobiles_lib.sign(later_speed))
|
||||
|
||||
local accel = vector.add(longit_drag,later_drag)
|
||||
local stop = nil
|
||||
|
||||
if self._show_rag == true then
|
||||
self.rag:set_properties({is_visible=true})
|
||||
|
@ -459,6 +459,7 @@ minetest.register_entity("automobiles_coupe:coupe", {
|
||||
later_speed*coupe.LATER_DRAG_FACTOR*-1*automobiles_lib.sign(later_speed))
|
||||
|
||||
local accel = vector.add(longit_drag,later_drag)
|
||||
local stop = nil
|
||||
|
||||
local player = nil
|
||||
local is_attached = false
|
||||
|
@ -262,6 +262,7 @@ minetest.register_entity("automobiles_motorcycle:motorcycle", {
|
||||
later_speed*motorcycle.LATER_DRAG_FACTOR*-1*automobiles_lib.sign(later_speed))
|
||||
|
||||
local accel = vector.add(longit_drag,later_drag)
|
||||
local stop = nil
|
||||
|
||||
local player = nil
|
||||
local is_attached = false
|
||||
|
@ -432,6 +432,7 @@ minetest.register_entity("automobiles_roadster:roadster", {
|
||||
later_speed*roadster.LATER_DRAG_FACTOR*-1*automobiles_lib.sign(later_speed))
|
||||
|
||||
local accel = vector.add(longit_drag,later_drag)
|
||||
local stop = nil
|
||||
|
||||
if self._show_rag == true then
|
||||
self.object:set_bone_position("windshield", {x=0, y=15.8317, z=15.0394}, {x=0, y=0, z=0})
|
||||
|
Loading…
Reference in New Issue
Block a user