![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Ledwan |
extends Spatial
func _ready():
if get_node('KinematicBody').Vector3(10, 0, 0):
var terrain = load('res://Terrain_grass.tscn')
terrain.duplicate()
printraw('Mesh duplicated')
var terrain_position = Vector3()
pass
the error “Attempt to call function ‘vector3’ in base ‘null instance’ on null instance” pops up.
sorry but I’m new here, so any help will be very much appreciated!