2D physics simulation and much more.
Switch branches/tags
Nothing to show
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.
3rdparty
data
doc/continuous_collision_detection
pw_graphics
pw_io
pw_physics
pw_system
pw_unit
pw_util
testing
.travis.yml
AUTHORS
CMakeLists.txt
COPYING
Doxyfile
README.md
SETENV
libdeps.txt
planeworld.kdev4

README.md

Build Status Last commit Code size license

planeworld

planeworld is a 2D physics engine.

Dependencies

Installation

> git clone https://github.com/planeworld/planeworld.git
> mkdir planeworld/build
> cd planeworld/build
> cmake ../
> ccmake .
(To configure compile and install details)
> make install

Usage

> planeworld example.lua

Default Commands (see pw_input_default.lua)

Key/Mouse Description
0 Toggle timers on/off
1 Toggle timer 1 start/stop
2 Toggle timer 2 start/stop
3 Toggle timer 3 start/stop
f Toggle fullscreen
g Show grid
b Show bounding boxes
k Show kinematics states
c Cycle through cameras
l Load game state
m Show center of mass (COM)
n Show names
s Save game state
t Show object trajectories
u and LCTRL Toggle UID visuals on/off
w and LCTRL Show all windows
w and LALT Hide all windows
Home Toggle command console
TAB Tab completion in console mode
F2 Toggle debug info
F3 Toggle debug render
ESC Quit
+ / a Accelerate time (only key-pad +)
+ / a and CTRL ... and allow timestep increment
- / d Decelarate time
RETURN/ENTER Reset time
p Pause physics
SPACE Stepwise physics (when paused)
Mouse-Wheel Zoom
Right-Mouse + Move Up Zoom in
Right-Mouse + Move Down Zoom out
Right-Mouse + Move Left Rotate clockwise
Right-Mouse + Move Right Rotate counterclockwise
Left-Mouse + Move Translate