Jump to content

Script needed to Toggle Collission


Ex0rdium

Recommended Posts

I just need a little aid to add a script to a trigger box so that when you enter the trigger box it turns off the collision, but then will turn back on the collision when I leave the trigger box.

 

The basic reasoning for this is a want part of a floor, when the character walks over it, to fall through into the floor below.

Link to comment
Share on other sites

So far I know, collision can't be toggled on-the-fly. You could place two objects, one that with collision one without, then switch between these objects. I don't know how to remove collision from a mesh, so that would need to be answered by someone else.

 

If it's just for disabling/enabling a floor tile, that would be fairly easy.

Link to comment
Share on other sites

  • 4 years later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...