===Python API===

Change code for rigid body access to use attributes instead of methods; also
add documentation to epydoc.
This commit is contained in:
Ken Hughes
2006-05-17 16:08:54 +00:00
parent 922cc48f15
commit 18b622ca6b
2 changed files with 54 additions and 76 deletions

View File

@@ -330,6 +330,12 @@ class Object:
@type constraints: BPy_ConstraintSeq
@ivar constraints: a L{sequence<Constraint.ConstraintSeq>} of
L{constraints<Constraint.Constraint>} for the object.
@type rbMass: float
@ivar rbMass: Rigid body mass. Must be a positive value.
@type rbFlags: int
@ivar rbFlags: Rigid body flags.
@type rbShapeBoundType: int
@ivar rbShapeBoundType: Rigid body shape bound type.
"""
def buildParts():