Custom Raycast Vehicle Physics in Godot #5.5 | Multi-Raycast & Performance [project source files] (Patreon)
Published:
2026-03-21 13:00:20
Imported:
2026-03
Downloads
Content
Source files used in the video: https://youtu.be/k8eDOKyulMM
The performance test scene is at:
scenes/experimentation/multi-raycasts/multiray_scene.tscn
The root node there adds fake input for the cars to keep moving by themselves
You can toggle this behavior on/off
The tutorial scene is at:
tutorial/5.5 multi-raycast suspension/car_multiray_scene.tscn
Not much else to say here.
Just some quick experiments and some surprising results.
Because I always heard: "Shapecasts are expensive." over and over again. I always thought raycasts were the way. But the reality is very different.
So don't be afraid to use shapecasts when the situation calls for it.
They are not nearly as "expensive" as the internet makes you think they are.