Is there a better way to go about this? Also a problem



I made a system for players to shrink themselves, and I hooked up everything to try and change the player’s size, physics, DOF, all at once. So far it functions just right but I feel this could’ve been done more cleanly some way.

Also, I am having one problem,when I activate grow it’s been a hassle to have all the settings gradually reverse. I basically made a replica of the shrink system, and just did all the math backwards. But it’s just simply not smooth at all, is there a more clean way to have things gradually and slowly happen?

Lastly, whenever the player jumps and lands, their screen jitters upon landing. I have not been able to fix this.

1 Like

The main problem is that you can’t totally automate this, because you need different code for each effect.

Having said that, it would be much neater, to put all the ‘from’/‘to’ values in arrays, which you could then use with a timeline