Unreal Engine 4 Velocity From Distance + Gravity

Started by
2 comments, last by gamenight 7 years, 8 months ago

Currently i just set the velocity for my jumppad blueprint directly in a variable - but i want it much easier to configure in the editor.

So i am trying to make a way to set just the distance from the starting point, so i can calculate a velocity to reach exactly the end point (start point + distance * direction).

Normally its easy, you just take the distance and multiply it by the timestep, but this wont work when there is gravity.

So my question is, how do i include gravity into this equation?

Advertisement

I used this from the Unity forums, But it does not seam to work 100% in UE4.

HTH

Never say Never, Because Never comes too soon. - ryan20fun

Disclaimer: Each post of mine is intended as an attempt of helping and/or bringing some meaningfull insight to the topic at hand. Due to my nature, my good intentions will not always be plainly visible. I apologise in advance and assure you I mean no harm and do not intend to insult anyone.

Found a solution from https://forums.unrealengine.com/showthread.php?58157-TUTORIAL-BP-Jump-Pad-only-adjust-Destination-Point-Not-Beginner-friendly-atm

Works perfectly fine ;-)

I started using new me, and the answers to my questions in https://www.youtube.com/user/UnrealDevelopmentKit

You can watch this channel

This topic is closed to new replies.

Advertisement