Ex0rdium Posted August 29, 2014 Posted August 29, 2014 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.
Ghaunadaur Posted August 29, 2014 Posted August 29, 2014 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.
Ex0rdium Posted August 30, 2014 Author Posted August 30, 2014 Yeah I dont want to disable the floortile. That would leave a hole in the floor. I simply want my player to fall through like he is a ghost.
sneoghost Posted January 28, 2019 Posted January 28, 2019 i know this thread is old, but i would like to know as well. i have in mind to use it for a flying mod i want to make. If i come across it ill list a name here.
Recommended Posts