mobjlookat expression function

Computes the transformation matrix of a lookat from one object to another.

All Usage Examples

Usage

mobjlookat(base_node, target_node, upv)

Examples

mobjlookat("/obj/null1", "/obj/null2", vector3(0,1,0))

Returns the transformation matrix to get null1 to look at null2