cirnogodot/Scripts/TestRotation3D.cs

12 lines
244 B
C#
Raw Permalink Normal View History

2025-03-22 00:33:24 +01:00
using Godot;
using System;
public partial class TestRotation3D : Node3D
{
[Export] public float RotationSpeed = 1f;
public override void _PhysicsProcess(double delta)
{
this.RotateY(Mathf.DegToRad(RotationSpeed));
}
}