Rotate cube movement with physics!

How can i achieve this?

i want the cube rotation movement with physics!

Use rotation movement component in cube actor.

You can find example of how to use it in ball template project.

did you watch the video cuss i cant get that to work :stuck_out_tongue:

Not sure if this is the right way to do it but I got this after 2 mins:

Image from Gyazo

Thanks is there anyway to speed it up without it rotating like a wheel super fast if you understand what i mean so he cant spin more then that give but he does it faster if you get what i mean xD

It’s the Max Angular Velocity that keeps it from going crazy fast, bump it up and see what happens.

As I said initially, not sure how far you can take this method as you might run into physics engine being in the way and bounce things around too much.

In which case you might opt for a completely different approach and do not rely on gravity / torque / collision moving the cube but calculate a horizontal sinusoidal movement instead and match it with rotation. Never done anything like that but it could work.