利用者:Iluvblender/Reference/Bullet game engine

提供: wiki
移動先: 案内検索

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