shmodot/scripts/OrbitCamera.cs

19 lines
258 B
C#
Raw Normal View History

2022-08-04 22:20:29 +02:00
using Godot;
using System;
public class OrbitCamera : Spatial
{
[Export]
private float _speed;
public override void _Ready()
{
}
public override void _Process(float delta)
{
Rotate(Vector3.Up, _speed * delta);
}
}