12-01-2024 05:11 AM
I have my gun magazine (firearm).
Gun has scale = 3.
When I release a magazine - it became smaller.
It's because parent now is null.
and scale = 3 not inherited from parent and scale becase 1 again.
I fixed that by use
magazine.transform.SetParent(null, true); (true - its worldPositionStays)
but when I grab this magazine by hand - it became small again.
This is so stupid. How can I make model big and keep scale 1. (to avoid this sizechange?)
if how can I scale it when grab? (I don't like this idea.. but..)
p.s. maybe there is a way to resize whole object without changing it scale? resize somehow and make it big with scale 1 in UNITY. ?