• Hey! Register here to create your account, engage with the community, and talk about what is new!

Help!

xWolfyGaming

New member
Joined
Jun 16, 2022
Messages
8
Reaction score
0
I am making a game where you can like shift into other mobs, and I would like to know how to make the player one block tall? It's a puzzle game based off the morphs, and I cannot figure out how to make this. I feel like I have tried everything.
 

KyllianGamer

New member
Joined
Oct 31, 2020
Messages
10
Reaction score
7
You can't really set the size of a player. What you could do however is make it look from their perspective as if they are "1 block tall". This could be either done by setting their actual position under the position of where they should be. That way they'll be in a block but it'll look like they're small. This however prevents the player from actually moving. Another method would be to force them to crawl. With this you'd have to deal with the fact that other players would see them crawling but as you're using mobs you could just set the player model invisible and attach the mob somehow. Plus the movement would also be altered, however, not completely disabled as with the previous method. Unfortunately there really isn't a better way (I can think of) to create this effect without changing the client's code.
 
Top Bottom