[SOLVED] How to add a collision by script

Hi everyone!

I am having a bit of a trouble adding a collision programatically to an entity I just created. I’ve found in the documentation how to create entities and give them some components, like scripts or models, but I can’t find how to add collisions anywhere directly from a script.

Thank you so much for your time!

Have you looked at this example:



1 Like

This is just what I needed! Thanks will!