angle_between method

angle_between(self, dir)

Calculate the inner angle between two direction Two direction can be non-normalized vectors

Returns

inner angle in radian


def angle_between(self, dir):
    ...
ParameterTypeDescription
dirVector3The direction vector to compare with

angle_between(self, dir, up)

Calculate the inner angle between two direction Two direction can be non-normalized vectors

Returns

inner angle in radian


def angle_between(self, dir, up):
    ...
ParameterTypeDescription
dirVector3The direction vector to compare with
upVector3The up vector of the two direction’s shared plane

See Also