- Home /
Question by
SoraMahiro · Aug 19, 2016 at 09:41 AM ·
controlsnpc
How can I make a non-character object or player, hop whilst moving between points?
I'm looking to make an object similar to that of a Minecraft slime block, I've tried a few things, but nothing is getting it to hop on its own. Does anyone know anyway to do this?
Comment
Lol, figured out my own problem. For anyone that comes across the same thing, all you need to do is set up the NPC like your character, except have them do the action on a random scale or for a specific reason. I also suggest using Physics.Raycast. it helps the character not to continuously jump.