Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

Need help shrinking/unshrinking my character

$
0
0

Hi! I'm attempting to create a mechanic where my character can shrink down to half scale to fit into smaller spaces on a key hold and return to normal scale when the key is released. I have tried to do this using both animation and local scale adjustments in the script. However, the problem I keep running into is that I can trigger the shrink using both ways but when I use the arrow keys, the character returns to normal scale. Is there something that's happening in update where the input manager is handling movement that is causing …


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>