- Home /
I am walking through/onto my tree when it has a 2D box collider and i dont know y. plz help.,I am walking through my tree when it has a 2D box collider on it and i do not know y?
My game is a 2D game and is sorta a new project. I have a tree as a way to give the area more life. It has a 2D box collider and my player has a 2D Circle and a Box collider and a Rigidbody that is in kinematic, and i still walk on my tree. I have nothing checked in the boxes in the 2D box collider for my tree, it is in default settings. I dont know if the problem is in the order in layers or it is the whole tree itself or even my player. I dont know if the 2D box collider needs a C# script. plz help it is a pain I appreciate it.
Any other details like a screen shot ask I will post it.,My game is a 2D game and I have a tree that is supposed to give my game more life. It has a 2D box collider and my player has a Circle and Box 2D collider and a rigidbody. However, when i enter into player mode I go onto my tree. I do not know if the problem is with my order in layer or if has to do with a rigidbody or with the tree it self.
Answer by Roger_0123 · Mar 10, 2020 at 03:37 PM
Hello, from Unity Scripting API -> Rigidbody.isKinematic:
If isKinematic is enabled, Forces, collisions or joints will not affect the rigidbody anymore.
For future cases, also isTrigger property in a collider will not effect collisions
Your answer
![](https://koobas.hobune.stream/wayback/20220612224624im_/https://answers.unity.com/themes/thub/images/avi.jpg)