Comments

Log in with itch.io to leave a comment.

looks awesome! I’m working on something with driving and could use this for reference. Are you using the built-in Vehicle3D or is it a custom rigid body/ray cast car?

(+1)

I am using  a rigid body sphere

Gotcha, that makes sense. Thank you!

I've been hacking it into first person arcade offroad racing. Surprisingly fun.

It looks awesome!!!

I'm not Able to Download. Oct 28, 2024 updated version of the Template. I only have Buy Option no Download option on this Page.

(-1)

Hi there! Did you buy the template?

Just found the 3d version, i definitely love this. Do you have a way to add a behind the back camera or is it just the top down one?

It's some sort of isometric camera, but it's easy to config if u want a different one. I can help if you need assistance 

thanks, I'll keep in touch. I've got so many good ideas brewing lol

Is there a demo available?

Hello! Can you, please, add pay with card option?

Hi! I am sorry but in my country  credit card is not an option due to some government policies. Do you have Payoneer, wise or Skrill?

(+1)

Hi! Now you can buy me a ko-fi with a credit card for the same ammount and I can send you the key to download the template. 

https://ko-fi.com/rnbgames

Clearly, Godot needs its own "Assets Store" ASAP!

I agree!

Hi, great template. My question might be a basic one since I am still a beginner/learning Godot. So, I got your template (which is fully functional). In my tests I changed the camera/cars/expanded track and a few other details ... but when the race is completed (like all cars pass thru the finish line and shows the podium), I was trying to change scene (with a simple button in the podium window). At that point, the game crashed referencing two lines in the if statement (in car_controller.gd) ...

if is_AI and RaceManager.is_countdown_finished: 

     # Calculate the direction to the target 

     var target_direction = (waypoints[current_waypoint].global_transform.origin - model.global_transform.origin).normalized() 

     # Calculate the cross product of the car's forward direction and the target direction 

     var cross = model.global_transform.basis[2].cross(target_direction)

So, I added a silght modification to your code ... but cannot manage to fix the issue. Here is what I did, might be helpful ...

if is_AI and RaceManager.is_countdown_finished:

    # Check if the model and the current waypoint are still valid and inside the tree

    if is_instance_valid(model) and model.is_inside_tree() and is_instance_valid(waypoints[current_waypoint]) and waypoints[current_waypoint].is_inside_tree():

        # Calculate the direction to the target

        var target_direction = (waypoints[current_waypoint].global_transform.origin - model.global_transform.origin).normalized()

        

        # Calculate the cross product of the car's forward direction and the target direction

        var cross = model.global_transform.basis[2].cross(target_direction)

Now it does change scene, but the cars from the previous race remain in the middle of the screen, and if I try to select a car for a new race ... it crashed again.

My plan was for making a restart race or go to next race ... but trying to change scene just leads to another crashed game.


Please advise,

Thanks in advance.

(+1)(-1)

hi! Reach me at my discord server so I can help you:

https://discord.gg/FTSmxZtY3W

And I will do my best!

I am working on a "select race track menu" so I think I may know what you need to change.

Thanks

Can I adapt it to use in a commercial project?

(+1)

Of course!