- Home /
 
Fall through the floor after entering a trigger?
Hello.
I'd like to make it so my player falls through the floor after I walk into a (moving) object with a trigger.
It's my first game and I really have no idea how to approach this... I thought about separating the floor into lots of small sections, but that just seemed like an awful way to do it.
Sorry for the bad explanation, thanks for any help!
Depends on your game, but you could either switch the collider of the player or the floor to trigger mode for a second
Answer by eduzanni · Jun 25, 2014 at 12:33 AM
Try programatically disabling the collider for the floor when the trigger condition is met. It's how I'd do it.
Answer by SoiSozz · Jun 25, 2014 at 01:26 AM
Well you could do like edzanni, or you just have the the object's collider as a trigger.
Your answer
 
             Follow this Question
Related Questions
Round Planets and Movement on them 2 Answers
Shifting blocks to the right to remove empty spaces - C# 0 Answers
Movement with character controller on different walls 0 Answers
Problem with gravity and character controller 1 Answer
How to make an enemy stop and start movement in a tower defence game? 0 Answers