mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-05 12:35:55 +00:00
18 lines
No EOL
499 B
C#
18 lines
No EOL
499 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;
|
|
|
|
DebugDraw3D.DrawBox(this.GlobalPosition - _boxSize / 2, Quaternion.Identity, _boxSize, Colors.Green);
|
|
|
|
//DebugDraw3D.DrawSphere(this.GlobalPosition, 0.1f, Colors.Green);
|
|
}
|
|
} |