Biped Layers

?

Layer related methods

biped.collapseAtLayer

Collapses layer index+1 into layer index. All layers underneath (<= index+1) should be active for this function to work. Returns true if successful, otherwise false.

biped.createLayer

Creates a layer at the specified position, maximum index value can be NumLayers

biped.deleteLayer

Deletes the specified layer

biped.getCurrentLayer

Returns the position of the currently active layer in the UI

biped.getLayerActive

Returns true if the specified layer is active.

biped.getLayerName

Returns the specified layer name

biped.numLayers

Returns the number of layers

biped.setCurrentLayer

Sets the active layer in the UI to the specified layer

biped.setLayerActive

Sets the specified layer to active/inactive based upon the bool_val passed

biped.setLayerName

Sets the specified layer name to the value passed

?

biped.setSnapKey

Sets the snap key for a layer

?

The following example will create a new Biped, access it’s Vertical_Horizontal_Turn(Body) controller and load a specific *.Bip file:

Example:

-- create a new Biped

bipObj = biped.createNew 100 100 [0,0,0]

-- select bipObj

bip = bipObj.controller

?

max motion mode

?

-- File I/O

biped.LoadBipFile bip (CSPATH + "scripts\\Limploop.bip")

See also

Biped Creation

Biped Controllers

Biped MaxScript Extensions