Questions tagged [vehicle]
The vehicle tag has no usage guidance.
33
questions
0
votes
0
answers
28
views
How do you do vehicle rendezvous?
If you want to have a missile track and hit a target, Proportional Navigation is a common technique.
But that's simple intercept and collision, getting the pursuer to the same X, Y, Z as the target.
...
2
votes
2
answers
160
views
Implementing clutch kicking in a racing simulator
I'm currently in the process of programming a racing simulator. I currently have a full drivetrain set up that includes an Engine, Transmission, Transfer case, and differential.
The engine has two rpm ...
0
votes
0
answers
93
views
Vehicle with wheel colliders always tilting
I wanted to make a tank, but there is an issue with it where it always leans a few degrees to the right.
Even though it's modeled after a tank, it drives like a car, with 4 wheel colliders. When I ...
0
votes
1
answer
111
views
Alter vehicle angle to match that of ground
I am trying to align a non physics vehicle to the same angle as the floor, using blueprints in UE4.27
At first, I used normals, but this has undesired effects when going over things like speed bumps.
...
0
votes
1
answer
110
views
Problem with calculating velocity for a car with multiple gear ratios
I hope this is the right place for this but I have a problem with calculating velocity for my car game. The higher the gear, and therefore lower the gear ratio, the lower the top speed.
Given that
...
1
vote
1
answer
82
views
Control how quickly 2D vehicle straightens out
I'm implementing vehicle movement in a 2D environment, where a vehicle consists of a front and a back "axle", both represented as 2D points. When the front axle moves, the back axle should ...
0
votes
1
answer
572
views
Understanding use of dot product in speed boost pad
I am trying to understand the dot product. I have found a website that gives you intuition about this topic and one of the examples involves a speed boost pad:
Imagine the red vector is your speed (x ...
0
votes
0
answers
275
views
Custom steering system in Unity for braking and sliding
I am developing a game where the player controls a vehicle. But instead of using a first person view, the camera is top-down and orthographic.
I tried using Unity's wheel collider system. While that ...
1
vote
1
answer
60
views
How to detect a collision and collision impact?
I would like to calculate "impact" of collision if its the right word for it.
My scenario is:
I have player, who is driving his vehicle. He then hits the wall while still in vehicle. I want to know if ...
2
votes
0
answers
49
views
Simulating idle regulator for vehicles
I use PhysX vehicles for my vehicle simulation, however there is no idle regulator option available to use. I want to implement that to have correct overall engine behavior such as stalling and in the ...
1
vote
1
answer
4k
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
1
answer
161
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
1
answer
494
views
How to make a vehicle sense and obey traffic lights in Unity?
I am creating a traffic simulator and I have my vehicle and traffic light system working. My vehicle stops when the traffic light turns red, but it stops wherever it currently is instead of in front ...
0
votes
2
answers
223
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
2
answers
1k
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
1
answer
652
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
4
answers
7k
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
2
answers
2k
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
1
answer
924
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
0
answers
165
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
2
answers
2k
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
0
answers
526
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
2
answers
533
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
4
answers
250
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
1
answer
2k
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
1
answer
6k
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
1
answer
11k
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
1
answer
412
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
1
answer
461
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
2
answers
797
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
1
answer
435
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
1
answer
563
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
1
answer
6k
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 ...