Математика |
pointAtOrientation Usage member(whichCastmember).model(whichModel).pointAtOrientation member(whichCastmember).group(whichGroup).pointAtOrientation member(whichCastmember).light(whichLight).pointAtOrientation member(whichCastmember).camera(whichCamera).pointAtOrientation Description 3D model, light, group and camera property; allows you to get or set how the referenced object responds to the pointAt command. This property is a linear list of two object-relative vectors, the first vector in the list defines which direction is considered the object’s front direction, the second defines which direction is considered the object’s up direction. The object’s front and up directions do not need to be perpendicular to each other, but they should not be parallel to each other. Example This statement displays the object-relative front direction and up direction vectors of the model named bip01: put member("scene").model("bip01").pointAtOrientation -- [vector(0.0000, 0.0000, 1.0000), vector(0.0000, 1.0000, 0.0000)] |