#rapier #bevy #gamedev

bevy_fps

A fist person shooter plugin for bevy

1 unstable release

0.1.0 Jun 22, 2024

#970 in Game dev

MIT/Apache

9KB
165 lines

Bevy First Person Shooter Controller

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())

Dependencies

~27–54MB
~1M SLoC