Archive 17/01/2023.

[Solved] Changing object origin in editor or Urho

George

Hi is it possible to change the model object origin coordinate inside the editor?
It would be useful to define rotating coordinate frame or things like robotic arm etc.

Regards
George

rasteron

Hey George,

You’re object will be parented to a node, manipulate this instead and this will act as the origin.

Hope that helps.

cadaver

If you actually want to change the origin of a model, then you’ll have to re-import with the origin (pivot) set correctly in the modeller program. The child node method is good if you either don’t want to do that or want to make dynamic changes to the origin at runtime.

George

Thanks,
The reason I ask is to make sure that it hasn’t been done before.

In some of the softwares that I used previously. They allows us to add several coordinate frames on one object. I find this feature particularly useful for multiple applications. E.g. snapping objects by coordinate frames, or creating a coordinate frame on an avatar hand and attaching different node to it.

Regards
George