Crates.io | bevy_first_person_shooter |
lib.rs | bevy_first_person_shooter |
version | 0.1.0 |
source | src |
created_at | 2024-06-22 11:38:57.647262 |
updated_at | 2024-06-22 11:38:57.647262 |
description | A fist person shooter plugin for bevy |
homepage | https://github.com/Strange-Knoll/bevy_fps_controller |
repository | https://github.com/Strange-Knoll/bevy_fps_controller |
max_upload_size | |
id | 1280390 |
size | 8,362 |
This plugin is a blatant copy of the character controller example in the bevy_rapire3d examples repo. You can find this example here: (github.com)
This repo turns the basic example into a simple to use plugin. you just need to do the following setup:
App.new()
//add rapier boilerplate
.add_plugins(RapierPhysicsPlugin::<NoUserData>::default())
.add_plugins(RapierDebugRenderPlugin::default())
//add our plugin
.add_plugins(FpsPlugin::default())