• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Need help with trees :/

Susi

Grizzled Veteran
Jan 31, 2008
457
295
Finland
Oki, so i have tree model and also collision model which blocks
player not to run trough it. But if i have understood right, nades
and bullets use original mesh what comes to their collision.

So how do i make tree which got trunk wich block bullets and
nades, but leafs doesnt block those.
 
demcollisions.jpg


Well I uploaded a picture for some clarification.

The green cylinder around the bush is the collision mesh which will only block players from passing through the mesh.

Bullets and grenades use per poly collision from the mesh itself which means if you want to have a tree which leaves won't block bullets you need to check off the "Enable Per Poly Collision" from the material channel of the leaves.
They are enabled in the material channels by default so make sure you check them off from the LODs aswell.

And now you have a nice little tree which will let bullets and grenades through it's leaves :)
 
Upvote 0