To Use This code
Steps: Open Godot -> Create kinematicBody -> Add MeshInstance as child node and add Capsule Mesh to it -> add collisionshape as child node of kinematicBody and also add capsule shape in it -> add spatial node as child node of kinematicBody and rename it to "Head" and add camera as child node of Head.
( camera position must be -z axis)
NextStep:- add key map in project settings (Project settings->Input Map -> add jump, move_right, move_left, move_back, move_forward,toggle_mouse_mode etc. )
To Use This code Steps: Open Godot -> Create kinematicBody -> Add MeshInstance as child node and add Capsule Mesh to it -> add collisionshape as child node of kinematicBody and also add capsule shape in it -> add spatial node as child node of kinematicBody and rename it to "Head" and add camera as child node of Head.
( camera position must be -z axis)
NextStep:- add key map in project settings (Project settings->Input Map -> add jump, move_right, move_left, move_back, move_forward,toggle_mouse_mode etc. )
Uses:- To check Environment during Lavel Editing