GDCustomRaycastVehicle
GDCustomRaycastVehicle copied to clipboard
A simple custom raycast vehicle implementation
Mainly following https://docs.godotengine.org/en/stable/tutorials/migrating/upgrading_to_godot_4.html Currently, the main stopper is `space.cast_motion(params)` seem to be working differently than it was in Godot 3. It returns `[1,1]` when road wheels collide with the floor....
Input is being accumulated for each ray in `rayElements`. **4WheelRayVehicleController.gd** ``` func handle4WheelDrive(delta) -> void: # 4WD with front wheel steering for ray in rayElements: # get throttle axis var...