Position Tracking

 
position_inGame.gif

The position tracker was a system put in place to determine a kart’s position on the map at any given time. It first found the kart’s position in the world and then range mapped the XY coordinates into a user defined box. Once this value was calculated the mini-map UI widget could access the value to draw images onto a depiction of the current track at the correct spot.

 
 
PositionTrackingInEditor.PNG
 

It was important to see in the level how the box lined up with the map to get a better idea of what the mini-map image should look like and to get a more accurate looking depiction of a kart’s position

 

BlueprintUE.com is a tool for sharing, rendering and rating blueprints for Unreal Engine 4. UE4 is a game engine which use visual scripting called blueprint.

 

BlueprintUE.com is a tool for sharing, rendering and rating blueprints for Unreal Engine 4. UE4 is a game engine which use visual scripting called blueprint.

 

Get the world positions of the specified points in order to calculate the map position in world space.

 

Calculate each kart’s position on the box and then store it off for other systems to read in the data and use it appropriately.

 

BlueprintUE.com is a tool for sharing, rendering and rating blueprints for Unreal Engine 4. UE4 is a game engine which use visual scripting called blueprint.

HaberDashers