Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [car]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
64 views

Unity: Car Rollover Protection

I have a standart Unity car with Unity Car physics. What would be the best approach to protect my car from a rollover? I dont want to mess up and try and error 10 different approaches, so maybe here ...
0
votes
2answers
73 views

How to make a car follow a path?

I have a 2D game and my goal is to make a car follow a path (the road in the picture) and rotate in the same time. I tried a plugin in the assets store but it didn't work well for me and i had ...
1
vote
1answer
78 views

How to implement a slight skid in a car game

I have a top down car game, where I'm trying to allow a slight skid; I've tried the following code to calculate the X and Y, but there is no skid whatsoever: ...
2
votes
1answer
106 views

Math needed to create a very simple 2D side view car game

I'm trying to create a 2D side view car game (something like Hill Climb Racing, but much more simpler), but I'm confused on the math and physics. Most of the tutorials I found were about making a top-...
13
votes
3answers
41k views

Typical Maximum steering angle of a real car

I'm building a car sim in Unity3D. I'm trying to set the properties of the car to be as realistic as possible. I can't seem to get a straight answer on Google so I thought of asking here. What is the ...
2
votes
1answer
100 views

Need instructions for my AI racing car game

I'm having a school project to create an 2D AI racing car game, but nobody know where is the destination, and the map is randomly generated. But to avoid the dead end, we must teach the car not to ...
0
votes
0answers
16 views

Simple Automation of Car Path Finding Between 2 Points [duplicate]

I would think that it would be simple to have a car drive from A to B, but apparently I haven't been able to figure it out. My goal is to have a car begin at a certain position and angle, calculate ...
0
votes
1answer
8k views

How to achieve highly accurate car physics such as Liveforspeed?

Liveforspeed is a racing simulator, there is amazing amount of realistic physics. for example, tires get warm, tire actually deforms when you turn corners. You need to play this game with a mouse at ...
0
votes
1answer
94 views

How are real world car characteristics translated to in-game?

I am just entering the world of game development, starting with the racing genre of games. Let me clarify that this question is not about car modelling or external detailing; it is about the way a ...
0
votes
1answer
149 views

How to stop car from slipping backwards on a slope?

I am trying to simulate a car in Unity, the slope of the road is high so the car slips backwards. Is there any physics property which can stop this from happening? Thanks in advance.
0
votes
1answer
489 views

simple 2d car AI unity

I have a top down Car Game. how can I implement AI for the Cars? how the car follow the way points? I want AI cars also rotate itself along the path. I tried this solution ...
1
vote
1answer
221 views

Unity collisions often have exaggerated physics, sending the player flying off the scene

I'm building a car driving game in Unity 2017.3.1f1. The car movement works fine over a flat surface and even over gently rolling terrain. It's a city environment, and there are lots of small lips ...
1
vote
1answer
43 views

How to rotate an object to a specific transform?

I am working on a car racing game and there are some times when the car rotates and ends up on its roof. On those situations I want the car to respawn on the same location. What can I do to rotate it ...
6
votes
1answer
3k views

How to make a car move sharper at high speed?

I am working on a car-racing game on Unity 2018.1. My car works perfectly at low speed but as it speeds up, I lose control over the car and it starts to drift independently. What can I do to prevent ...
1
vote
2answers
201 views

What is the unit of speed in unity3d?

I have cars in my unity scene, I am not sure in what units speed is specified in unity.
1
vote
2answers
1k views

Unity3d 2017 trail renderer behaving weird

Please see the screenshot I attached, I am trying to make skid marks using trail renderer, but one side of trail is going upwards just after it renders, it was working fine Unity 5.4, but when I ...
9
votes
2answers
2k views

In very simple 3d racing games, how are collisions handled?

I was wondering how collisions in some simple 3d car racing games are done (especially in games like Outrun 2/Motoracer). In classic car racing games with complex environment (open world), I guess ...
3
votes
1answer
578 views

How can I apply steering behaviors to a car controlled with turning and acceleration?

I feel like I've got my head around steering behaviors, but I've having trouble applying them to a car. The steering behaviors return forces that one could apply to an object that can move in any ...
3
votes
3answers
2k views

How to do an anti sway bar for a car in Unity 5?

I have researched some examples of anti roll bars for Unity but they are all for unity 4 and bellow so they do not work in unity 5. Can someone please assist me in making an anti roll bar script in C# ...
0
votes
0answers
170 views

Variable Car Simulation using Waypoints

I have a single lane road and I want cars to drive along it. I want variables such as car speed and gap lengths between cars to be changeable. I have already implemented this simply using a Waypoint ...
4
votes
1answer
1k views

How to simulate car drivetrain (in Unity)?

One of my hobby projects involves cars. Up until now I had a quick and dirty "one class" implementation of engine+gearbox+wheels, but I thought that this is ugly, and I want to go a bit more realistic....
9
votes
4answers
983 views

How to adapt pathfinding algorithms to restricted movement?

Imagine car-like movement where entities cannot turn on a dime. Say, for the sake of discussion, that when at-speed they can turn 90 degrees per second. This would in many cases change the optimal ...
3
votes
3answers
2k views

Opponent car logic in race games

I'm developing a race game in Andengine. I have created a car which player is controlling. But since this is a race game, there should be 3 or 4 car which snatch with the player's car. My question is: ...
1
vote
0answers
318 views

Why are my wheels not moving at the same speed as my car?

I need help with some wheel rotation I set up for my game. My wheels are moving 3x faster than the acceleration speed of my car. Also, I can't work out why my car is moving so slow and the brakes not ...
1
vote
1answer
474 views

2D Driving Game with Unity

I'm trying to make a 2D car driving game in Unity and I'm having problems with my code. I am able to move forward,backward,turn left/right using arrow key from my present code ...
1
vote
1answer
144 views

Progressively loading the racing arena in a 3D driving sim

I need advice and resources on a 3D car simulator. I want to progressively load the track for the player as I'm thinking of porting the game to mobile devices. This seems too difficult to me as I'm ...
0
votes
1answer
2k views

Car Game: Engine and Gearbox calculations?

I am making a racing game inside of Blender Game Engine. You can see the latest video here to get the impression of what type of game it is: https://www.youtube.com/watch?v=0i3m-xXtnhc What I want to ...
1
vote
1answer
334 views

Simple 2D vehicle physics - maintaining vehicle length

I'm learning OpenGL and trying to make a simple simulation, which involves vehicles (drawn just as a rectangles) moving along predefined path. I've already read a few tutorials about designing a ...
1
vote
1answer
156 views

Prevent tires from tunneling in 2d sidescrolling car game

I am working on creating a 2d sidescoller car game (Think hill climb racing). The land is a line and generated at once. I have been setting up the physics for car tires and them hitting the lines and ...
0
votes
1answer
120 views

Creating terrain

I am working on creating a 2D side-scrolling car game. My problem is generating the terrain. When creating the terrain, I need to have it random and recorded, so I can create collisions at a later ...
4
votes
2answers
330 views

How to find the optimum path, on a road, for a car?

For the moment I have an AI car, that follows points (let's call this Waypoints), that I built by myself. Of course, it's not optimal because of my poor human hand, and car knowledge. After this ...
2
votes
2answers
1k views

How to model vehicle driving physics?

How to model the physics of a car in a racing game? In real life, vehicle movement is inherited from the wheels. But after reading a few articles on the subject (a lot of which are 10 years old), I ...
1
vote
0answers
123 views

How can I make cars drive navigate an intersection without colliding?

I'm trying to create a 2D game with a traffic intersection: My car game-objects need to pass through the intersection without colliding with each other, and without stopping, if possible. How can I ...
7
votes
2answers
20k views

Do I need to obtain a license to use real car brands in a game? [duplicate]

We are small team which working on car racing game but we don't know about licensing process for branded cars like Nissan, Lamborghini, Chevrolet and etc. Do we need to buy any licence for using ...
1
vote
0answers
125 views

Lateral Slip of car

I have been following this Gaming Institute tutorial and tried to make that car physics system in Blender Game Engine. https://www.youtube.com/watch?v=EdjUS85yVuI&list=...
4
votes
1answer
206 views

What does maximum normalized frictional force mean in this tutorial?

I tried following this tutorial: https://nccastaff.bournemouth.ac.uk/jmacey/MastersProjects/MSc12/Srisuchat/Thesis.pdf, but in page 19 I ran onto a problem - I don't understand the step 4. It is also ...
3
votes
1answer
859 views

How to detect if an object is upright?

I have a cartoon car and it has a skid sound with the car skids. But when the car flips over the skid sound plays endlessly and its really annoying. I have a basic script that is meant to detect when ...
2
votes
1answer
872 views

Neural Net Controlled Car

I'm trying to make an AI car controlled by a neural net. I saw this two videos: Neural Network Demo and Q Learning and neural network in 2D car driving and I want to replicate that. I already have ...
0
votes
1answer
980 views

How can I adjust steer angle based on speed in Unity?

I'm following this (https://www.youtube.com/watch?v=kAEpLX3rfms) video on how to make a car in Unity. But my car doesn't lower the steering angle based on the speed of the video. The idea was that you ...
1
vote
1answer
105 views

Turn the front wheels of a car according to the car's bezier path

I have a 3D car which follows a predefined 3D Bezier path. I want the car's front wheels' rotation to match the car's changing direction. I had the idea to match the wheel's orientation to the ...
0
votes
1answer
81 views

How to move a car model on a plane?

I want to create a 3 dimensional car game. But i have a problem in moving a car in other directions and accelerating. I have a car model and a road model placed appropriately. To move car forward, I ...
23
votes
7answers
10k views

Transmission implementation in a car game

I'm trying to create a simple car game with manual gear changes. However, I'm having a bit of trouble implementing the gear changes. Here's my current code for the "car": ...
3
votes
2answers
2k views

How do I make a 2D race car turn smoothly? [duplicate]

I'm making a competitive 2-player 2D racing game for a school project. I'm struggling with the movements of my car: I made it a square for testing purposes and it can move left, right, up or down, but ...
1
vote
1answer
118 views

XNA 4.0 - Car game dashboard lights

I'm making a car game and doing the dashboard part. I'm trying to do the dashboard lights, i've did this changing the dashboard texture, overwriting the texture with the light image over it, example: ...
6
votes
1answer
1k views

How do I make a slot car game?

I new to game development with Unity and my first project is a slot car racer. For a realistic slot car-like-driving experience, I first build a track with a channel in the track and a pin on the car. ...
1
vote
1answer
748 views

Creating a vehicle using a physics engine [closed]

What is the theory behind creating a generic 3D vehicle in a physics engine? What I would like to know is what parts should I stick together to make the vehicle, how they parts should stick together, ...
1
vote
1answer
94 views

Reach concrete, numerical values for certain car values, in a car game

I am developing a rather complicated racing car management browser game, but I think this applies to any car game. I have 10 values. Power, acceleration, etc. that can be easily quantified by using ...
3
votes
1answer
1k views

Car physics - velocity and latheral force

Im developing simple car racing game. To turn a car, I need to calculate slip angles for each tire and then use those angles to find lateral force (using Hans B. Pacejka magic formula). One thing I ...
3
votes
3answers
2k views

Math to steer a car

I'm in the early stages of a city driving simulation project, and I'm having trouble with the math to determine how the AI should steer the cars. My car model is very simple, with nothing like ...
2
votes
1answer
1k views

physics of 2D car racing game with heightmap

I want to develop a simple car racing game where the road is defined by a heightmap. It looks basically like this: The player can use throttle and brake to control the car. I'm wondering what the ...