I was wondering how I’d go about setting up a blueprint to activate a force of an impulse from the player at the touch of a button on the keyboard. Any ideas?
I just tested this out with the sidescroller project and an imported cube converted into a PhysicsActor, but nothing seems to be affecting it despite my button pushes. I know the cube is capable of moving, as the character is capable of pushing it around by walking into it, but there’s no radial force acting upon the object.
Just add a radial force actor in your character bp component tab and then:
Have you increased the strenght of your force? (e.g 1000 or something higer)
Yes. The Impulse Strength is 1000, and the Force strength is 1000.
Ah, bingo. Set it to 1,000,000 and that solved it instantly. Thank you very much!
Depending on the mass of the mesh you have to increase the value to a much higher number → try out 100.000 or even 1.000.000
Depending on the mass of your static mesh you will have to increase the value to something higher → e.g 100.000 or even 1.000.000