- Home /
Question by
DanikaS2808 · Feb 28, 2021 at 08:56 AM ·
meshcollider
How to add my player to mesh collider?
i want my player to react with the terrain so it can go over the hills
Comment
Both the terrain and the player need a collider. A capsule collider for the player would work, and you can add the terrain collider component to the collider, and drag in the terrain data to build the collider correctly.
Answer by LoloBad · Feb 28, 2021 at 03:20 PM
You should add a component Collider (BoxCollider, SphereCollider, CapsuleCollider) to your player detect collision. You should add a component Rigibody to your player to give him physical properties (mainly gravity).
Your answer