Horizontal and Vertical velocity

I need a way to calculate horizontal and vertical velocity for the player. Does anyone know how to get this data or can point me in a direction?

Perhaps

It should convert the actor velocity to local space.

I believe the context here is Fortnite - in that case, Sarah Rust recently published a snippet that does pretty much this: Polling Player Speed | Uefn Code Snippet

If splitting into lateral and vertical velocities is important, you can split the vector3 that results from .Translation into its X, Y and Z components and modify (e.g., set Z to 0.0 for lateral velocity) before calculating the distance.

Epic Games needs to clean up it’s forum code. I keep getting random UEFN questions while being in Developer / Forum / Unreal Engine => Filtered for questions.

This question should only show up if I were in UEFN & Creative. I really hope the staff can fix the filters. It’s getting annoying.

1 Like

Players velocity tracker (Linear and Angular) | Epic Developer Community (epicgames.com)

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.