From BlenderWiki

Jump to: navigation, search
Note: This is an archived version of the Blender Developer Wiki. The current and active wiki is available on wiki.blender.org.

Tips and Tricks

  • Quickly bake game simulation without showing the game engine graphics by holding left SHIFT+CTRL+ALT and press P-KEY.

Python API

This is the Python API for the Physics Constraints

import PhysicsConstraints
print dir(PhysicsConstraints) 
  • createConstraint
createConstraint(ob1,ob2,float restLength,float restitution,float damping)
  • getAppliedImpulse
  • getVehicleConstraint
  • removeConstraint
  • setCcdMode
  • setContactBreakingTreshold
  • setDeactivationAngularTreshold
  • setDeactivationLinearTreshold
  • setDeactivationTime
  • setDebugMode
  • setGravity
  • setLinearAirDamping
  • setNumIterations
  • setNumTimeSubSteps
  • setSolverDamping
  • setSolverTau
  • setSolverType
  • setSorConstant
  • setUseEpa

Links