NiharRanjan53 / HacktoberFest_2022

#HacktoberFest_2022
10 stars 88 forks source link

Basic FPS character controller Godot #135

Closed StaticAccess closed 2 years ago

StaticAccess commented 2 years ago

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