Skip to content
Box2D coordinate conversions and sandbox for easy world setup
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
samples
src
templates/Box2D Sandbox
.gitignore
LICENSE
README.md
cinderblock.png
cinderblock.xml

README.md

suBox2D

suBox2D is a simple wrapper around Box2D physics for use with the Cinder framework.

Wraps Box2D version 2.3.1
Builds against Cinder glNext
Clone into your cinder/blocks/ directory to get started.

Features

  • Sandbox for easier world and body creation
  • Smart pointers for managing the lifetime of physics bodies
  • Scale for converting between world and screen space
  • SimpleControl for easily setting up basic mouse interaction
  • ContactListener to simplify routing of physics event handling
  • Debug Renderer following Box2D convention
  • Project template for using Box2D in Cinder projects.

Purpose

  • Ease Box2d world setup and entity creation
  • Simplify proper coordinate conversion
  • Simplify Box2d entity lifetime management
  • Minimize additional interfaces to learn beyond Box2d and C++11

Box2D is copyright Erin Catto. The source and license of Box2D are in src/Box2D

You can’t perform that action at this time.