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