shmodot/scripts/OrbitCamera.cs

19 lines
258 B
C#

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);
}
}