How to get the Needle model tip position in the World coordinate?

Dear friends, i wanna get the position of the needle model which created by the module “IGT/CreateModels”

Coordinate of the needle tip is (0,0,0). See complete definition of the StylusTip coordinate system here.

Thx, but i insert transform with the stylus model, so the modified position follow the changable transform. i wanna get the current position.
Can you share me some method to get the stylus tip position?

Current position of the needle tip is the translation part (4th column) of the the matrix you get from GetMatrixTransformToWorld() (called on the parent transform).

1 Like

Thank you very much.