I am a total noob to Unreal Engine 4 and I am trying to make grass “collision”, so that it bends when touched by an actor. I found a material editor example here of collision:
&d=1404734708I am trying to recreate it myself. I am using the 3rd person demo. Here is the blueprint which feeds the actor’s location to a material parameter collection:
Here is the material parameter collection itself:
Here is my material with the collision code:
Whenever I move the character over the grass, nothing happens. The grass doesn’t bend as it is supposed to. The only thing I have gotten to work is replacing the material parameter collection, the one with the player’s location, with the camera’s position. like shown here:
The grass then bends when I move my camera close. But I need the actor to move the grass not the camera. I guess my material parameter location isn’t working? Please help. Thank you so much, sorry if this is a bit nooby