This repository has been archived on 2023-12-19. You can view files and clone it, but cannot push or open issues or pull requests.
MUR/scripts/Util.gd
2019-07-23 19:49:04 +02:00

13 lines
262 B
GDScript

extends Node
class_name Util
static func clear_node(node:Node):
for idx in range(node.get_child_count()):
node.remove_child(node.get_child(0))
static func curve_get_last_point(curve:Curve3D):
return curve.get_point_position(curve.get_point_count() - 1)