So, i made a cube and i want to move it with keyboard but it doesn’t seem to move.
Do you have any idea what could be wrong?
I uploaded an attachment with the blueprint.
Thanks!
You don’t have ‘simulate physics’ enabled, you’ll need that to use ‘add impulse’. You only need to use add impulse once ( with a much higher number like 50000 ), not on a while loop.
ok i removed the while loop and enable simulate physics but it didn’t worked either
my box simply receives forces from the environment but it still don’t respond to keyboard
I upload the action mappings maybe i have a mistake here i can’t understand why it won’t respond
I tried something with print and i noticed it hear the LeftPressed and RightPressed when i press the buttons from the keyboard so, my mistake is somewhere else
Is there any alternate to AddImpulse because i think AddImpulse have the mistake but i can’t find it so if i try to move the cube with another way it may fix.