I
I
i__egor2019-01-17 14:40:32
C++ / C#
i__egor, 2019-01-17 14:40:32

Is it possible to freeze object resizing in unity?

There is a parent object that changes in size, there is a child object that I do not need to change in size, what is the best way to prevent it from changing scale?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Gaydak, 2019-01-17
@MrMureno

if the parent has a scale by zeros ... then you are at least as pissed off there ..) you can’t “adjust” the child in any way)
the scale of the children is considered from the parent) and don’t multiply zero by anything .. there will be zero))
then think about the hierarchy in general objects.
does it have to be your child?
can it be "put" next to it and only the position and / or rotation can be attached to another object (by a script) ??

A
Alex Maximovich, 2019-01-17
@flexer1992

Remember when starting the Scale with which the child object was created. And then in some thread LateUpdate apply it to the child object. As an option.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question