BattlehubCode / RTE_Docs

This is a repository for Runtime Editor documentation, discussion and tracking features and issues.
https://assetstore.unity.com/packages/tools/modeling/runtime-editor-64806
11 stars 1 forks source link

The pivot point in the runtime editor is calculated differently than in the unity editor. #90

Closed BattlehubCode closed 1 year ago

BattlehubCode commented 1 year ago

in unity,when I choose a parent gameobject,It can focus on the center of all children(include parent). but In RTE,it focus on the parent only

BattlehubCode commented 1 year ago

Hi, can you tell me more about this issue? It seems to work fine https://www.youtube.com/watch?v=J_SrJ-9aoAw

BattlehubCode commented 1 year ago

Benny 宗, [8/7/2023 10:39 AM] center and pivot

Benny 宗, [8/7/2023 10:40 AM] @WWWadik in unity,please see the pos of the Axis in the picture

image

nguyenph194812 commented 1 year ago

i came across a situation and wonder if it's a bug. When i select the object in RTE vs in Unity, the pivot is different. in the newest release i saw that the pivot can now be changed. Can you show me how ?

BattlehubCode commented 1 year ago

Additional fix for single object selection https://github.com/Battlehub0x/RTE_AssetStore/issues/43

BattlehubCode commented 1 year ago

I fixed this issue but I need to test it more. For now, I'll keep doing things the old way. To enable UnityEditor-like behavior, set s_commonCenterStandardRTEBehaviour to false.

image_2023-08-07_12-20-55

image

https://github.com/Battlehub0x/RTE_Docs/assets/15802443/500e3251-bc68-4a47-98ce-be0dcace1a9f