How to keep acceleration/velocity in a teleportation?

You have to store the current velocity, then teleport and then apply the velocity again.

To do this you have to use the Node called GetVelocity and SetPhysicsLinearVelocity. Then just get the velocity before the teleport and then set it after.

HTH.

Hello, I have a question, i have to switch pawn but with the same acceleration between the first and the second one.
I tried with vector but i’m not really good in blueprints and c++.

I would like to teleport for exemple a car, and the car don’t stop.
Or like in portal’s game where potential energy of “gravity” is conserved during the teleportation.

Here is a picture of my problem :

116129-problem.gif

My appologies for my bad english.

Hello, I dit it, I created a new vector variable with named velocity,and it get the velocity and can print the velocity for example but the SetPhysicsLinearVelocity don’t work, it need a target but when i set the target, it create me a Capsule Component.

What should i do to make this work?