extends MeshInstance3D @export var cam: Node3D # Called when the node enters the scene tree for the first time. func _ready(): pass # Replace with function body. # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta): self.position=Vector3(cam.position.x,self.position.y,cam.position.z) self.rotation=Vector3(self.rotation.x,cam.rotation.y,self.rotation.z) pass