- Home /
Invisible walls
Hey everyone need some help and cant seem to find the exact answer Im looking for in the forums.
I have some invisible walls I want to use as boundaries. I want my vehicle to bounce off of them and not be able to go through them, but I have Is Triggered checked on my vehicle(character) and the vehicle just goes through it. When it is un checked it does bounce off like I wanted but I need it checked so that the vehicle can crash and also pickup items.
Any help would be great. If you need any more info or code just let me know what you need. Thanks everyone!
Answer by instruct9r · Feb 05, 2017 at 10:27 AM
You can turn off the isTrigger and add another collider on a child object, that will check for collectables...
Answer by Chikari · Feb 06, 2017 at 08:14 AM
Just add a second collider: One collider serves as a trigger, the other collider handles collision.
Your answer
Follow this Question
Related Questions
Stop object collision 3 Answers
making bullets disappear when they collide 3 Answers
RigidBody Clings to Walls 0 Answers