XaiJu
CodeLikeMe
CodeLikeMe

patreon


Advanced Procedural Foliage Spawner II - UE4 Tutorials #328

 Project Files : https://www.patreon.com/CodeLikeMe/posts?tag=source%20code 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. 

Advanced Procedural Foliage Spawner II - UE4 Tutorials #328

More Creators