Cube and a simple slice script thats now empty cuz i couldn't get it to work... also the cursor now is area2D
13 lines
220 B
GDScript
13 lines
220 B
GDScript
extends Area2D
|
|
class_name SelfSlicer
|
|
|
|
@export var cursor_path: NodePath
|
|
@onready var cursor = get_node(cursor_path)
|
|
@onready var mesh_instance: MeshInstance2D = $MeshInstance2D
|
|
|
|
var sliced = false
|
|
|
|
func _ready():
|
|
|
|
pass
|