Resizing cube mesh

Hi,

I’m trying to make a room with walls and a navmesh. that’s basically it. I have the terain in place and now to make a wall, I created a cube collider and clicked to edit the collider and stretched it into a wall shape. The problem is, the mesh rederer didn’t change with it. So the NavMesh isn’t following my new wall, its using the original cube.

How can i make the mesh/mesh renderer/collider/NavMesh be shaped like a wall in my room?

I know this is a super elementry question, sorry. I’ve been working in 2D mode for a while and only starting to dabble in 3D. I’m having trouble finding this answer in the manual because i think it might be TOO basic.

Thanks

RJ

Instead of changing the collider, scale the cube object itself. Since if you scale the gameobject Unity will scale the collider along with it.