bevy_rapier icon indicating copy to clipboard operation
bevy_rapier copied to clipboard

On my computer, the example can only be run if I modify this

Open Cupnfish opened this issue 4 years ago • 2 comments

https://github.com/dimforge/bevy_rapier/blob/b38b432e54385aaa55ea9c1d61841eb0c2c71158/src_debug_ui/systems.rs#L5

   let font_handle = asset_server.load("../assets/FiraSans-Bold.ttf").unwrap();

Cupnfish avatar Aug 26 '20 04:08 Cupnfish

Hi! The examples are supposed to be run from the root directory of the repository. This is why the font is expected to be found on the assets/ instead of ../assets. Maybe we should just try both paths in case someone runs the examples from the bevy_rapier2d or bevy_rapier3d folders as you appear to have done.

sebcrozet avatar Aug 27 '20 20:08 sebcrozet

I think it would be better to add a readme file

Cupnfish avatar Aug 28 '20 02:08 Cupnfish

We're no longer using fonts so this issue can be closed.

Vrixyz avatar May 20 '24 12:05 Vrixyz