79792170

Date: 2025-10-16 13:03:37
Score: 0.5
Natty:
Report link

Ok, the anwser is: multipply the parent Tranform matrix for the translation to the face direction.

For Axis studio, Z is pointing to the Avatar's front, so I only had to make the calcules.

For the moment, I don't know if works for any euler order, but solves my problem.

local_transform = np.identity(4)
local_transform[:3, 3] = np.array([0,0,10])
face_transform = parent_transform @ local_transform

The face direction

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Claudio