diff options
Diffstat (limited to '')
-rw-r--r-- | assets/view_model/ViewModel.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/view_model/ViewModel.gd b/assets/view_model/ViewModel.gd index cb85117..8a818a3 100644 --- a/assets/view_model/ViewModel.gd +++ b/assets/view_model/ViewModel.gd @@ -8,7 +8,7 @@ export var gravity = 35 var velocity = Vector3.ZERO var snap = Vector3.DOWN -onready var character = $BaseCharacter +export(NodePath) onready var character = get_node(character) onready var anchor = $Anchor onready var spring_arm = $Anchor/SpringArm onready var fps_label = $fps_label |