How would I fix enemies to surface?

  • Add a trigger volume for each “surface” area and place them so that a player stepping on/off of that surface will trigger them.

  • Set a variable in the Character blueprint …eg “SurfaceType” [int]

  • On Overlap of these volumes, set the appropriate value.

  • Then when you have the enemy AI cast to the character, Get SurfaceType from the result and see if the player is standing on that surface.