Hello,
I'm not sure about using _init
when instanciating a node. I give you a part of my code:
extends Spatial
var N : int
var iL : float
var oL : float
func _init(N=6, iL=0.9, oL=1):
self.N = N
self.iL = iL
self.oL = oL
Debugger says 'N', 'iL' and 'oL' are shadowed, but I don't know how to avoid that. I instanciate the node using .new(N, iL, oL)