What is a good wall detection code for a car that doesn’t make the entire wall move and just stops the car?
Hi @Julian_Wu!
To achieve this effect you want to make all items that shouldn’t be moved static. Here’s how:
When you enable physics on your items, make sure to set your wall-item to be static. This will make the wall immovable in physics, but still collide-able.
Then, if you code physics movement on your car you can see how it collides against the wall. The wall will stay firmly in place!
Hope this helps!
A post was merged into an existing topic: Moar Car Physics