Skip to content

Bullet Physics 3D Block for use on iOS, MacOSX, and MSW

Notifications You must be signed in to change notification settings

fumarioso/Cinder-Bullet3D

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Working platforms support iOS, and MacOSX for glNext branch of Cinder, found here.

Warning: Master Branch using new glNext branch of Cinder. In other words, you won't be able to use it with Cinder 0.8.6 and below. To use with those versions, checkout preGlNext branch. Also, samples haven't been tested on Visual Studio.

Samples

(Note: SoftBodyDemo, Constraints and SphereGravity demos are working but not commented and experimental).

The implicit order of samples is as follows...

  1. HelloWorld
    • This is simply the HelloWorld bullet tutorial running in cinder. This is raw Bullet and shows a lot of what is going on under the hood.
  2. PhysicsPrimitives
    • This shows creating different primitives and adding them to your context and world. PhysicsPrimitives
  3. VisualPhysics
    • This shows wrapping a Visual (gl) object with a Physics (bullet) object, which isn't necessarily intuitive. Hopefully, this will help you out. VisualPhysics
  4. HeightfieldTerrain
    • This shows creating a heightfield and the helpers for gl that are associated with them. HeightfieldTerrain
  5. RagDoll
    • Shows the constraints you'd use to create a ragdoll. (Converted from Bullet Sample) RagDoll
  6. Constraints (when finished)
    • This will be where I represent using constraints with Cinder-Bullet3D.
    • The sample will be modeled from the Bullet Constraint demo.
    • Still working out how to use Constraints within my system because I don't want to wrap all of them. :)
  7. SphereGravity (almost finished)
    • Contributed by Robert Hodgin. Thanks Robert!
    • This is an advanced case, showing many optimizations using Bullet and gl.
    • Uses instancing, UniformScaleShape ( to use the same shape with different uniform scales ) SphereGravity
  8. SoftBodyDemo (when finished)
    • This will model the Bullet SoftBodyDemo. SoftBodyDemo

You can find out more about bullet at http://bulletphysics.org/wordpress/

About

Bullet Physics 3D Block for use on iOS, MacOSX, and MSW

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 82.8%
  • C 15.8%
  • Objective-C 1.4%