I am new to UE and trying to make very simple game to learn the engine.
I want the player to be able to move the cube(PlayerPawn) left and right only. When I disable physics on the platform player can’t move the cube at all and if I enable it then the platform rotates because of the torque of the cube. I also can’t move the cube to the left for some reason when I enable physics. Input works completely fine when I disable gravity for the PlayerPawn but of course the problem with that is when I get off the platform the cube doesn’t fall. My script for PlayerPawn is simple:
How can I fix this? Have the platform stand still while being able to control the cube.