mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:35:34 +00:00
12 lines
244 B
C#
12 lines
244 B
C#
|
|
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));
|
||
|
|
}
|
||
|
|
}
|