Update changes
This commit is contained in:
parent
159f5ae629
commit
bb867c427e
Binary file not shown.
@ -41,7 +41,7 @@ func _ready():
|
|||||||
|
|
||||||
|
|
||||||
func _physics_process(_delta):
|
func _physics_process(_delta):
|
||||||
if piloting_player.is_network_authority:
|
if !piloting_player.is_network_authority: return
|
||||||
if ship_is_piloted:
|
if ship_is_piloted:
|
||||||
var turn_speed = base_turn_speed / max(mass, 1)
|
var turn_speed = base_turn_speed / max(mass, 1)
|
||||||
var lift_speed = base_lift_speed / max(mass, 1)
|
var lift_speed = base_lift_speed / max(mass, 1)
|
||||||
@ -74,8 +74,9 @@ func _physics_process(_delta):
|
|||||||
global_rotation.x = lerpf(global_rotation.x, 0, 0.1)
|
global_rotation.x = lerpf(global_rotation.x, 0, 0.1)
|
||||||
global_rotation.z = lerpf(global_rotation.z, 0, 0.1)
|
global_rotation.z = lerpf(global_rotation.z, 0, 0.1)
|
||||||
|
|
||||||
# Networking
|
if old_global_trans_cache != global_transform:
|
||||||
NetworkManager.sync_property(uuid, "global_transform", global_transform)
|
NetworkManager.sync_property(uuid, "global_transform", global_transform)
|
||||||
|
old_global_trans_cache = global_transform
|
||||||
|
|
||||||
|
|
||||||
func _on_area_3d_body_entered(body: Node3D) -> void:
|
func _on_area_3d_body_entered(body: Node3D) -> void:
|
||||||
|
BIN
godot-jolt/windows/~godot-jolt_windows-x64_editor.dll
Normal file
BIN
godot-jolt/windows/~godot-jolt_windows-x64_editor.dll
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user