Hello, I’m still trying to get to grips with blueprinting in unreal. Currently I just want a way to check if my agent has collided with the player pawn and then if so, will change the colour of it’s material. I am not sure how to get the player pawn or reference the material colour however, so I wondered what the most efficent way would be. I have attached some relevant images below:
This is my material
This is how I am currently using the material
In the agent: ‘on begin overlap’ → cast to check it’s the player → then it updates it’s own material.
Tell me if you need more info.
Thanks, that seems to have worked.
1 Like