Going through walls

I have two student games in which the students are driving cars or moving the camera straight through walls. How do we prevent this? We have tried everything we can think of.

Please check the answer to the similar question in this topic.

Hi Pavel,

This still isn’t working for my students. In Scene 2, notice how the cars go through the walls, despite enabling Static on them.

https://cospac.es/qIVE

This happens because you control your cars with “Move” blocks from “Transform” category. In order to make your cars to respect physics you have to control them with blocks (eg “Push” block) from “Physics” category. This is also shown on the video in the topic linked above.

Also you should not enable “Set static” for cars that you want to move.