Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [vehicle]

The tag has no usage guidance.

0
votes
1answer
941 views

Car driving through walls with transform.Translate()

I need help with a script for a very simple car that uses transform.Translate: ...
2
votes
1answer
115 views

Are wheeled vehicles usually controlled by force applied to wheels or is movement simulated by a force applied to the vehicle?

I'm building a tank in my game and I was hoping to have moving wheels with rotation and shocks. I can get the wheels to bounce and rotate but they do not actually propel the car forward. Should I not ...
-1
votes
1answer
188 views

How to make a vehicle sense and obey the traffic lights?

I am creating a traffic simulator, I have my vehicle and traffic light system working. My vehicle stops when the traffic light is red but it stops wherever it is when the light turns red. I tried ...
0
votes
2answers
165 views

How can I control a game 2d car mechanic from acceleration & speed to just 1 value?

So I have a car in a 2d game that runs on acceleration and speed, two values that have a max. The acceleration is small, under the value of 1 and it rises by an incrementation. The speed is large ...
3
votes
2answers
680 views

How to calculate the stopping distance of a wheel collider?

I have an 'AI' bus in my game that needs to pull over occasionally at a bus stop. What I want to do is change the acceleration and brake force based on the stopping distance of the bus. I don't want ...
1
vote
1answer
302 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 ...
0
votes
4answers
2k views

Can I use models of real cars with logos removed to avoid copyright infringement?

My friends and I have recently started making a video game. We were going to make it an open world simulator, but can't figure out if using real cars with the real logos is copyright infringement. How ...
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 ...
2
votes
1answer
585 views

How do engine sounds for vehicles work?

How does the engine sound for a car (or whatever has an engine) work? When you increase the throttle the engine sound changes but it's never quite the same. When programming such a system what is the ...
1
vote
0answers
120 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=...
11
votes
2answers
1k views

How do I prevent raycast car wheels sliding sideways?

I've been writing a non-realistic car physics engine as a learning exercise, using this article as a reference. I have a car that correctly collides with a terrain and applies the correct suspension ...
0
votes
0answers
428 views

How do you set up the physics for a tank?

My goal is to make some tank like vehicle since there is not a suitable one in unity5 store yet. First I tried wheel collider, could not get it to work. I tried to use raycasting and fixed joint, ...
5
votes
2answers
438 views

Isometric vehicle animation

I am working on a medieval isometric RPG in which the player can ride on horses and in horse drawn carriages. The player's movement is not restricted to the common eight directions; he may move in ...
0
votes
4answers
99 views

How do I figure out if a point is infront or behind my vehicle?

I need to figure out whether a point is infront or behind my vehicle. I have the vector of it's position, forward direction. So far I have tried finding the vector perpendicular to its forward ...
1
vote
1answer
1k views

Friction not working for Vehicle in BulletPhysics

I am creating a vehicle using bullet-physics engine (v 2.82). I created a ground ( btBoxShape ), a box and a vehicle (following the demo). But friction between ground and vehicle wheels seems not ...
1
vote
1answer
5k views

Vehicle: Boat accelerating and turning in Unity

I'm trying to make a player-controllable boat in Unity and I'm running into problems with my code. 1) I want to make the boat to accelerate and decelerate steadily instead of simply moving the speed ...
-1
votes
1answer
3k views

How much does it cost to license vehicles for a racing game? [closed]

I've looked and looked, and even contacted some companies but I never got anywhere. Does anyone know? I just need to see if I can do it financially.
5
votes
1answer
389 views

Implementing Vehicles in your game

In the game i am creating as an hobby (learning is the primal goal of it all) i plan to implement a space ship that the player can enter and use to explore it. I tried to search the internet for the ...
1
vote
1answer
339 views

Physx gravity not working as expected

We have been facing a strange issue with physx vehicles. The game behaves correctly in almost every situation: jumps, impacts, etc. Gravity is applied correctly downward. But when the vehicle is put ...
3
votes
2answers
600 views

What's the best way to move cars along roads

I am implementing car movement game (sort-of like Locomotion). So 60 times a second I have to advance the movement of each car. The problem is I have to look ahead to see if there is a slower car, ...
3
votes
1answer
372 views

Simulate 'Shock absorbtion' with tire rubber in PhysX (2.8.x)

This is a kinda tricky question and I fear there is no easy enough solution, but I figured I'd hit SE up before giving up on it and just doing what I can. A machine I am working on has no suspension ...
4
votes
1answer
541 views

Dirt compression from vehicle tires

So I kinda have this working but its not correct because it just averages, so I wanted to know if anyone here has any ideas. I'm trying to simulate loose dirt compression under the tires of a vehicle ...
1
vote
1answer
5k views

Unity: Spin wheels to move vehicle

I am just getting started with Unity and I'd like to ask a question. If I have a "Vehicle" object that has two children: "FrontWheel" and "BackWheel" (both 'wheels' are cylinders), how should I set ...