mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 01:25:54 +00:00
Nuclear gun and 3D tests
This commit is contained in:
parent
9d065a6f2b
commit
d1d3a3fdd5
34 changed files with 750 additions and 55 deletions
12
Scripts/TestRotation3D.cs
Normal file
12
Scripts/TestRotation3D.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue