I'm trying to create a joint based on selection. My problem is getting the world position of the current selections from points or edges or faces (i.e. the current selection's pivot axis).
Correct me if I'm wrong but I cannot use the
GetMg() function as it requires a base object. For instance, a cube. But what I need is the selection from the cube not the cube itself.
Is there a way around this?
Thank you for looking at the problem