How can I roll a ball, without using add force?

Hey all,

Simple question; difficult to answer.

I’m prototyping a new game, where it’s a 2D Ball as the player, but I’m wanting a strict movement (constant speed, with jump and the ball needs to roll during movement) but so far I’ve been moving with AddForce.

I use AddForce as it’s able to simulate the roll, but I can’t seem to figure out how to move it at a constant speed, and my googling seems to say that AddForce isn’t suit for this purpose.

So I ask you, Answers community:

“How do I create a rolling ball of a single speed, which can jump like that of Mario of old?” Basically a strict 2D platformer with no physics (but is affected by gravity) which shows the ball rolling.

take a look at Kula World on youtube if I haven’t explained it well enough!

I am not asking for code - just ideas to create a solution - though code is always nice.

Thank you, BobbleHead!

You move the ball position around like it’s not rolling. Like you would mario of old.

Then your walk/run animation is a ‘roll’ animation as opposed to the usual walking and running anims like mario of old.

go look at the docs for rigidbody.moveposition, or alternatively, just manipulate rigidbody.velocity