Minor tweaks to bge.constraints docs
This commit is contained in:
parent
1c251d7cb6
commit
57065a6df5
@ -4,6 +4,10 @@ Physics Constraints (bge.constraints)
|
|||||||
|
|
||||||
.. module:: bge.constraints
|
.. module:: bge.constraints
|
||||||
|
|
||||||
|
|
||||||
|
Examples
|
||||||
|
--------
|
||||||
|
|
||||||
.. include:: ../examples/bge.constraints.py
|
.. include:: ../examples/bge.constraints.py
|
||||||
:start-line: 1
|
:start-line: 1
|
||||||
:end-line: 4
|
:end-line: 4
|
||||||
@ -11,6 +15,10 @@ Physics Constraints (bge.constraints)
|
|||||||
.. literalinclude:: ../examples/bge.constraints.py
|
.. literalinclude:: ../examples/bge.constraints.py
|
||||||
:lines: 6-
|
:lines: 6-
|
||||||
|
|
||||||
|
|
||||||
|
Functions
|
||||||
|
---------
|
||||||
|
|
||||||
.. function:: createConstraint( \
|
.. function:: createConstraint( \
|
||||||
physicsid_1, physicsid_2, constraint_type, \
|
physicsid_1, physicsid_2, constraint_type, \
|
||||||
pivot_x=0.0, pivot_y=0.0, pivot_z=0.0, \
|
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>`__.
|
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
|
:type filename: str
|
||||||
|
|
||||||
.. function:: getAppliedImpulse(constraintId)
|
.. function:: getAppliedImpulse(constraintId)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user