cirnogodot/Scripts/Actors/3D/PlayerStartMarker3D.cs
2025-08-12 14:37:48 +02:00

19 lines
No EOL
503 B
C#

using Godot;
namespace Cirno.Scripts.Actors._3D;
[Tool]
public partial class PlayerStartMarker3D : Marker3D
{
private readonly Vector3 _boxSize = new Vector3(0.5f, 0.8f, 0.5f);
public override void _Process(double delta)
{
if (!Engine.IsEditorHint()) return;
#if !DISABLE_DD3D
DebugDraw3D.DrawBox(this.GlobalPosition - _boxSize / 2, Quaternion.Identity, _boxSize, Colors.Green);
#endif
//DebugDraw3D.DrawSphere(this.GlobalPosition, 0.1f, Colors.Green);
}
}