Advanced Procedural Foliage Spawner II - UE4 Tutorials #326

-- Project Files : We are working on an advanced procedural foliage spawner which allow us to set the boundaries of the area we want to spawn foliage with a spline. This can be used to create things like crop fields because even though the plants itself have some randomization, there is a pattern to a crop field, which is quiet difficult to achieve with unreal build in procedural foliage spawner. we have created the basic setup for this blueprint. Today's episode, we are going to see how to identify if a point is inside a given polygon. For this purpose, we are going to implement a functions to determine orientation of given 3 points and another function to determine if two lines does intersect. -- #CodeLikeMe