Car controller for Bevy and Avian3d 0.6.1
3

Configure Feed

Select the types of activity you want to include in your feed.

Rust 100.0%
39 3 0

Clone this repository

https://tangled.org/remotectrl.dev/avian3d-car https://tangled.org/did:plc:spmvllxkkpxvkp7fyde6texl
git@tangled.org:remotectrl.dev/avian3d-car git@tangled.org:did:plc:spmvllxkkpxvkp7fyde6texl

For self-hosted knots, clone URLs may differ based on your setup.



README.md

Avian3d Car controller#

A avian3d arcade car controller based on video by Walaber Entertainment

There are 2 examples that were meant to go through the phases of the video does. It kinda does, but jumps in phase 2. Phase 3 is another example with more controls and a free to orbit camera. The car doesn't follow the camera direction but keeps a direction Vec3 based on the where you steer (this was something I wanted for my game)

There is still loads to do and jankiness to sort out, but a ton of building blocks here for making a vehicle with Avian3d

Hope it is useful to someone.

Enjoy!

Picture of a car on a hill

Usage#

example one sliding camera car

cargo run --example one

arcade car with drifting and "suspension"

cargo run --example two

arcade car with drifting, "suspension" and camera control

cargo run --example three

Features#

You can enable the Avian Physics debug plugin using the feature debug_physics in the gym examples

cargo run --example three --features "debug_physics"