I’m trying to create a bit of code that lets me alter the size of my character with the scroll wheel. Starting the game I want their scale to be normal and if you wheel up, their size increases and if you wheel down, it decreases. But I can’t figure it out.
You’ll want to scale your capsule component as well, add clamps and safeguards, add to current scale etc etc
I’ve managed to get it working like that but on the mousewheel down to shrink it, it inverts the whole model and it’s upside down.
Got it all working now, I was using minus values which were causing it to invert.
1 Like