small racing game im working on
Diffstat (limited to 'cam.gd')
| -rw-r--r-- | cam.gd | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -8,6 +8,9 @@ var last_lookat func _ready(): last_lookat = follow_this.global_transform.origin + if follow_this is Car: + await follow_this.ready + follow_this = follow_this.car_mesh func _physics_process(delta): var delta_v = global_transform.origin - follow_this.global_transform.origin |