playcanvas / editor

Issue tracker for the PlayCanvas Editor
https://playcanvas.com/
160 stars 28 forks source link

Template instance transform #1211

Open LeXXik opened 4 weeks ago

LeXXik commented 4 weeks ago

The template instance changes position, based on how it is instanced and there is no way to reset its position. When the instance gets instantiated via code and added as a child to some entity, the instance becomes offset. The only way to change that is to remove the template, reset the entity position to origin and create a template again.

https://github.com/user-attachments/assets/e82081e0-72d5-4a41-9ded-24b7615a7ac3