Ground Boundaries

I want to make my character to move within ground,if the character reaches to the ground boundary it shouldn’t move forward anymore.

Welcome aboard!

I think you can put invisible walls (mesh.setEnabled(false) or mesh.visibility = 0 if the former does not work) around the ground and enable collision checks.

1 Like

Thank You @Evgeni_Popov