WIP: Migrating to node3ds
This commit is contained in:
@ -5,7 +5,7 @@ class_name CharacterWrapper
|
||||
@export var owner_placeholder: CharacterBody3D = null
|
||||
|
||||
@export var server_node: Node3D # The real synced node from the server
|
||||
@export var interpolation_delay: float = 0.01 # Stay 100ms behind for smooth interpolation
|
||||
@export var interpolation_delay: float = 0.1 # Stay 100ms behind for smooth interpolation
|
||||
@export var snap_threshold: float = 2.0 # If desync is larger than this, snap instantly
|
||||
|
||||
var position_buffer = [] # Stores past positions (tuples of (timestamp, position, rotation))
|
||||
|
Reference in New Issue
Block a user