Collision mesh

Hello. I have a procedurally generated terrain and I want my avatar to collide with it. There are no instructions how to do this. I have found suggestions to add “” tags to .egg file, but I don’t have any, since my terrain is generated. Is there a way to specify a polygon to be collidable?

Yatta! I did it. You must add:

node.setIntoCollideMask(BitMask32.bit(0))

to your generated node.

Good to know. Thanks for sharing! :slight_smile: