Debug Scenes - leiget/Godot_FPC_Base GitHub Wiki

Here are quick explanations of the debug scenes inside the β€œscenes/DEBUG” folder.

Coll_Sphere.tscn

This is just a single node, a β€œImmediateGeometry” node with β€œColl_Sphere.gd” attached to it. This scene is meant to be instanced through code. Be sure to emit the β€œColl_Sphere_Show” signal inside β€œPlayer.gd” somewhere.

Check these links to sections of this manual for more information.

Pos_Visual_Axis.tscn

This is a single β€œImmediateGeometry” node with β€œPos_Visual_Axis.gd” attached to it. This scene is meant to be instanced inside the editor. You do this by simply instancing it to the root node and emitting the β€œRender_Pos” signal inside β€œPlayer.gd”. You can attach it to whatever node you want, really. But you’ll need to edit the line inside β€œPos_Visual_Axis.gd” that connects the β€œSet_Position()” function to whatever node you need it to connect to.

Check these links for more information: