angle_between method

angle_between

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

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