Im trying to remake the Subwaysurfers “Pogo stick”. Now i know for a fact that im bad at Coding, so i figured to start with the motion, i did it kinda, but i want to slow the part down (simple code i made:
p.Velocity = Vector3.new(50,200,0)
)
so how could i continue to make it rise and fall slower?
I don’t really have a proved solution for this but I have few ideas.
1:
Lift the part or pull the part to ground via weight by using an external force. This system is used by lots of games and mechanics.
Force must come from the bottom center and applied to center of the mass. An example on a plane (ignore the other forces.):
Force must be lower than the mass of the object so it can block the fall speed but not lift it positively.
If you also want to make it go up slowly, just apply the lift from top of the object which will be weight
2:
This idea will probably work but without good physics.
Basically tween the object to the desired position set the tween time (First parameter of TweenInfo.new()) to the tween length you want.