#Why the hell this doesnt work

1 messages · Page 1 of 1 (latest)

timid gulch
#

bs

hardy cairn
#

Hey

timid gulch
#

transform.localPosition , position, localScale, sacle
is not allow for edit only one axis

#

u can't edit with
localScale.x or .y or .z

hardy cairn
#

hm, sure

timid gulch
#

you must use
localScale = new Vector3();

vestal kayak
#

Are you supposed to change transform or Player.transform..?
This line makes me wonder what you really want to do
Player.transform.localScale.x *= -1f;