Have the node look at a certain point
<node3d>.lookAt( | |
point | |
roll = 0.0 | |
mode = viz.ABS_PARENT | |
) |
Transform modes | |
viz.ABS_PARENT | Perform the transformation absolutely in the parents coordinate system. |
viz.ABS_GLOBAL | Perform the transformation absolutely in world coordinates. |
viz.REL_LOCAL | Perform the transformation in the objects local coordinates system. |
viz.REL_PARENT | Perform the transformation relatively in the parents coordinate system. |
viz.REL_GLOBAL | Perform the transformation relatively in the global coordinate system. |