diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-23 14:58:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-23 14:58:08 +0300 |
commit | 57065a6df5c33efbdc09c5697812a7efb7b1bb6c (patch) | |
tree | 10889e8e05b73f512c0e8541f6d912c4a48667f1 /doc | |
parent | 1c251d7cb619e738b335839712c2b398a748d7a0 (diff) |
Minor tweaks to bge.constraints docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/rst/bge.constraints.rst | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/python_api/rst/bge.constraints.rst b/doc/python_api/rst/bge.constraints.rst index e47625d44fc..05038d5a5d4 100644 --- a/doc/python_api/rst/bge.constraints.rst +++ b/doc/python_api/rst/bge.constraints.rst @@ -4,6 +4,10 @@ Physics Constraints (bge.constraints) .. module:: bge.constraints + +Examples +-------- + .. include:: ../examples/bge.constraints.py :start-line: 1 :end-line: 4 @@ -11,6 +15,10 @@ Physics Constraints (bge.constraints) .. literalinclude:: ../examples/bge.constraints.py :lines: 6- + +Functions +--------- + .. function:: createConstraint( \ physicsid_1, physicsid_2, constraint_type, \ pivot_x=0.0, pivot_y=0.0, pivot_z=0.0, \ @@ -65,7 +73,7 @@ Physics Constraints (bge.constraints) See `Bullet binary serialization <http://bulletphysics.org/mediawiki-1.5.8/index.php/Bullet_binary_serialization>`__. - :arg filename: Absolute filepath. + :arg filename: File path. :type filename: str .. function:: getAppliedImpulse(constraintId) |