My rolling ball game isn’t going well. I’m a beginner to unreal engine and while I have successfully developed a prototype, the ball just keeps rotating on its axis fast with little actual Movement. I am attaching a GIF of the movement as well as a screenshot of the moment blueprint. All help will be highly appreciated. Thanks in advance!
but my pawn player is simply a spherical object with no rings or anything, will the video still be of help? Pardon me if it will, I am still in an early stage of learning the engine. thanks!
yes…just pay attention how the ball is rolled.
Bassically using ADD FORCE instead TORQUE
Add Force is linear direction force. (like pushing it) …apply pointing the direction you want it to move (forward vector multiplied by a factor for example)
instead getting the player pawn and casting it in every tick like that, just do that ONCE in the beginplay node and store the object in a variable and in the inputaxis even you just get the variable