Mount an animal to ride

I’m just starting off with Flowlab and I don’t know how to make my character to jump on a cow to ride on it. I’m trying to make it so he can jump on and off from it but it doesn’t work.
Does anyone have any example on how to do it?
my game (level 7 is where I’m trying to achieve it)

You should do a collision with a cow on the bottom of the player only checked then attach the cow with the player on top and make a message to send to the ridable that will give a variable the rideable pig that will activate allowing wasd keys

I tried that but when I use the “attacher” the cow goes under the player which makes it “swim” in the ground blocks :confused:

1 Like

Then you should get rid of the pig and make an animation with the player on top

Yeah, that is my plan B, I thought it is possible with the physics joint but once I jump off I can’t get back on the animal. It also doesn’t turn with the player as it does in the attacher.

1 Like

Also I forgot to say this but Welcome to the community

1 Like

Welcome @Tess24. when i checked inside your game, that is an incredible start. Awesome.
Anyways, to solve your problem. when the player jumps on the cow. delete the player, and make the cow “the player” by having camera focusing on it and the cow should have the player on it. and have some animation (if you are a good artist) when the “up” key is pressed the player is either spawned or emitted. and the cow should not have the player. although this is a lot of work using animations. this is how i think it can help you
i hope this helps (and you are a good artist) : D
and for “attach” There is a setting that rotates and scales with the cow. have you tried turning it on?

1 Like

Welcome! You should make separate animations for your character that get switched to being used when you collide with your cow. make the cow delete when the collision happens and make the character switch back to normal controls and emit a cow beneath him when you dismantle

1 Like

wait lol I flipped your idea. I swear I didn’t steal

Hello, thank you, I will try that! Yeah the attachment is good with the flipping but it spawns the cow under my character which makes it look like it “swims” through the ground haha