Biped Creation

The following properties and methods are applicable to any created Biped.

Constructor

biped.createNew <height_float> <angle_float> <wpos_point3> . . .

<height_float>     the height of the Biped to be created

<angle_float>      angle in degrees

0( will make the Biped face towards the right.

<wpos_point3>      world position of the Biped. This is the position of the COM shadow.

Creation Properties

<biped>.arms                    Boolean     Default: True     

Specifies whether or not arms will be generated for the current biped.

<biped>.neckLinks               Integer     Default: 1

Specifies the number of links in the biped neck.

<biped>.spineLinks              Integer     Default: 4

Specifies the number of links in the biped spine.

<biped>.legLinks                Integer     Default: 3

Specifies the number of links in the biped legs.               

<biped>.tailLinks               Integer     Default: 0

Specifies the number of links in the biped tail. A value of 0 specifies no tail.

<biped>.ponytail1Links          Integer     Default: 0

Specifies the number of Ponytail links.

<biped>.ponytail2Links          Integer     Default: 0

Specifies the number of Ponytail links.

<biped>.fingers                 Integer     Default: 1

Specifies the number of biped fingers.

<biped>.fingerLinks             Integer     Default: 3

Sets the number of links per finger.

<biped>.toes                    Integer     Default: 5               

Specifies the number of biped toes.

<biped>.toeLinks                Integer     Default: 3

Specifies the number of links per toe.

<biped>.ankleAttach             Float       Default: 0.2     

Specifies the right and left ankles' point of attachment along the corresponding foot block. The ankles may be placed anywhere along the center line of the foot block from the heel to the toe.

A value of 0 places the ankle attachment point at the heel. A value of 1 places the ankle attachment point at the toes.

<biped>.trianglePelvis          Boolean     Default: True

Select this control to create links from the upper legs to the lowest biped spine object when Physique is applied. Normally, the legs are linked to the biped pelvis object.

The pelvis area can be a problem when the mesh is deformed with Physique. Triangle Pelvis creates a more natural spline for mesh deformation.

Notes

Creates a new Biped with the given keyword parameters. All UI limit constraints apply on keyword parameters, example: fingers and fingerLinks parameters are not respected when arms is set to false.

The following example will create a Biped with specific non default values and facing the front.

Example:

bipObj = biped.createNew 100 -90 [0,0,0] arms:true neckLinks:2 \

   spineLinks:4 legLinks:4 tailLinks:1 ponyTail1Links:1 \

   ponyTail2Links:1 fingers:5 fingerLinks:2 toes:4 \

   toesLink:2 ankleAttach:0.3 trianglePelvis:True

See also