3D Lingo Dictionary > L-N > map

 

map

Syntax

member(whichCastmember).motion(whichMotion).map(whichOtherMotion {, boneName})

Description

3D motion command; maps the motion specified by whichOtherMotion into the current motion (whichMotion), and applies it to the bone specified by boneName and all of the children of that bone. This command replaces any motion previously mapped to the specified bone and its children. This command does not change a model's playlist.

The boneName parameter defaults to the root bone if not specified.

Example

This statement maps the motion named LookUp into the motion named SitDown starting from the bone named Neck. The model will sit down and look up at the same time.

member("Restaurant").motion("SitDown").map("LookUp", "Neck")

See also

motion, duration, cloneMotionFromCastmember