public override void Update() { camera.Update(); hudCamera.SetTargetSize(Core.screen.size); hudCamera.SetPosition(Core.screen.halfSize / hudCamera.GetZoom()); if (Core.input.IsMouseButtonPressed(MouseButton.Left)) { rays.Add(camera.ScreenPixelToWorldRay(Core.input.GetMousePosition())); } if (Core.input.IsKeyPressed(KeyboardKey.R)) { rays.Clear(); } testtransformbillboard.LookAt(camera.GetPosition()); }