Aloha developers. I am making pets for a game I am working on. I have the part of moving the pet to the player down perfectly, but I want to add a slight bounce you see with many pets in other games that contain them. I made a tween for this, but the tween moves the pet to the position they were already in. I made the tween goal the position of the pet + Vector3.new(0,1,0) so it will obviously stay in place, except going up.
How can I make the pet levitate-bounce slowly while simultaneously following the player?
it has been a while, but what I would do is set it up as a rig(so not with weld) and then use AnimationController and have the bounce as a animation.
but if you don’t want to use animations and are using “weld” object, maybe try “WeldConstraint”, I think that might work, not sure. sorry for not being very helpful.
at the bottom, it has a code sample for animating non player objects