top of page
Lane Change Visualization
Blueprint Example

The lane change system shown was implemented in C++ and Blueprint

Below is example logic flow for the portion that handles the lane spline mesh​

Overall Lane Change Visualization System​
  • Unreal gets continuous data that stream in lane points and status for lane change

  • If vehicle initiates lane change, BP_LaneActor generates and updates lane change spline mesh

    • Generic logic related to lane actor is implemented in C++ in parent class LaneActor.cpp​

    • Visualization related logic is handled in BP_LaneActor

BP_LaneActor

Screenshot of blueprint logic that handles updating lane spline mesh

  • Clear and rebuild lane spline from lane center points

  • Add center points as spline points

  • Create spline mesh for each spline segment and store the generated mesh components

  • Apply lane highlight material

  • Set segment start/end positions and tangents

  • Scale mesh width using lane width data

image 7.png
  • LinkedIn
  • Instagram
bottom of page