Tall grass(bush) that responds to touch

Step 0.

Let's create a tall grass(bush) that responds to touch..





   There is a way to replace the material according to the situation. In some cases, it can be heavy and complex.
 It is convenient to implement so that material has animation.

Step 1.

We implement 'default idle animation' and 'touch reaction' here.
This is the final material screen shot.

If you want better animation consider this :
https://docs.unrealengine.com/latest/INT/Engine/Animation/Tools/VertexAnimationTool/




Step 2.

Add new actor class type that parent class is StaticMeshActor.


Change mesh and it's material.
Change collision type to 'OverlapOnlyPawn'.



Step 3.

Create event graph of TallGrassActor.

At this point you need to find the direction of the Pawn.


Step 4.

Place multiple TallGrassActors at level.
Set mobility 'Stationary' for shadow.



Step 5.

The result screen.





Comments

Popular posts from this blog

Liquid material in a bottle

How to Make Circular Progress Bar(or Rounded Rectangle)

MatCap material