wrapped2d

Crates.iowrapped2d
lib.rswrapped2d
version0.4.2
sourcesrc
created_at2016-04-28 14:45:30.046077
updated_at2024-02-17 14:30:05.006813
descriptionRust binding for Box2D
homepage
repositoryhttps://github.com/Bastacyclop/rust_box2d.git
max_upload_size
id4887
size903,645
Thomas Koehler (Bastacyclop)

documentation

https://bastacyclop.github.io/rust_box2d/wrapped2d/

README

rust_box2d Build Status Crates.io License

A library wrapping around the Box2D physics engine. It aims to provide an idiomatic interface.

Box2D is a 2D rigid body simulation library for games. Programmers can use it in their games to make objects move in realistic ways and make the game world more interactive. From the game engine's point of view, a physics engine is just a system for procedural animation.

You won't find a lot of information about Box2D itself here, look at the official website instead.

Documentation

You can look at the testbed for examples.

Dependencies

You will need CMake installed in order to build Box2D.

Alternatively, you can supply your own installation of Box2D (version 2.3.1) by pointing the BOX2D_LIB_DIR environment variable to the directory containing the compiled Box2D library. For example:

BOX2D_LIB_DIR="path\to\Box2D\lib" cargo build
Commit count: 191

cargo fmt