This crate containts the easy to use rust wrappers for RLBot-BM.
As is custom, there is a *-sys
crate that links the external lib rlbot-bm-sys.
The wrappers make use of a lot of new-types to hide implementation details. This means that when RLBot-BM is updated it is possible to hide these changes and keep the same API.
- Wrappers are "zero copy", they are basically just methods to access the bindgen structs.
- New-types for different kinds of indices.
Quat
andVec3
types are compatible withquaternion
andvecmath
crates.- Combined return types like
jumped_at() -> Option<Instant>
(it combinesjumped
with a timestamp).
You can see an example ATBA implementation in atba.rs.