get_collision_point ( ) ) )įirst, ImmediateGeometry->clear is called, which will remove everything that was previously drawn. Onready var line = $ImmediateGeometry func _process (delta ) : The script attached to the root node is: extends Spatial onready var arrow = $Arrow onready var raycast = $Arrow /Ra圜ast The Shapes spatial contains the various meshes that are setup with collision enabled that are placed around the scene.The ImmediateGeometry node is what will be used to “draw” the visualisation.
0 Comments
Leave a Reply. |