Skip to content

Yet another player controller (rigidbody, physics based FPS) for the Flax Engine

License

Notifications You must be signed in to change notification settings

nothingTVatYT/YAPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YAPC

Yet another player controller (rigidbody, physics based FPS) for the Flax Engine

Setup: You can load this project as a plugin in Flax. Just launch the Tools>Plugin dialog and use this github URL to clone it into your project. Screenshot_35

If you haven't set up your input controls yet you can use the function in the main menu: Tools>YAPC>Check Input Settings.

You can use the prefabs but basically it's a rigidbody with the script attached and three child nodes. There is the capsule collider necessary for the rididbody, a static model used for a more convenient representation in the editor and obviously the camera. The HUD simply places the crosshair texture in the middle of the screen and switches it on and off depending on whether the mouse is grabbed by the controller. The simple reason for the abstract base class is that you can implement your own controller but keep interfacing it from e.g. the GUI when it's necessary to get hold of the mouse and a visible cursor.

About

Yet another player controller (rigidbody, physics based FPS) for the Flax Engine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages