Quantcast
Channel: Questions in topic: "vehicles"
Browsing all 123 articles
Browse latest View live
↧

How to map vehicle beam suspension to wheel positions (from wheel colliders)?

I'm making a truck game. My trucks drive very nicely, and the wheels bobble up and down correctly when the wheel colliders tell them to. However, the axle/drive-shaft (meshes) are currently fixed:...

View Article


Steer towards target

So, this is somewhat of a loaded question and I will try to do my best to explain it. I am creating a vehicle AI system, and the vehicle has a Steer(x) function. X ranges from -1(steer left) to 1(steer...

View Article


NullReferenceException: Object reference not set to an instance of an object...

Help i got 2 console error i really confused right now , what did i missed in that script some in line 96 and 146 can you check what i have missed or incorrect symbols using System; using UnityEngine;...

View Article

Trying to add drive-able vehicles to my multiplayer FPS

I'm a newbie when it comes to coding, and yet I chose to start with networking a multiplayer fps... So far I have the base game set up: Run around and shoot your friend with a gun. I want to add...

View Article

Any idea how to make an anti-lock braking system a.k.a. ABS?

Hi! I have a really big problem. I use the slightly modified version of Unity 3 Alternate Physics Model. Everything works fine, but under braking the wheels lock up and the car understeers a lot (it...

View Article


Increasing vehicle realism when turning

Hey guys, We are working on a project that revolves around driving different types of vehicles. We have already created a basic driving mechanism that works very well, but one of the problems we are...

View Article

How do I attach a wheel mesh to a wheel hub?

So I'm making a vehicle with more than 4 wheels, and I'm using the vehicles package 'sky car' as the base and changing the different meshes and colliders and stuff to the ones for a different vehicle....

View Article

How can you tell if NavMesh Agent found the journey hard?

I'm making a game revolving vehicle traffic and I was wondering how you can get data from the NavMesh about how hard moving to the destination. For Example: - Average Speed - Did it need to change...

View Article


Leap Motion in Projekt einbinden,Wo findet man Tutorials, wie man eine Leap...

Wie kann ich eine Leap Motion in ein projekt einbinden, sodass sich damit ein Fahrzeug steuern lässt? Gibt auf Youtube Videos, die aber alle nicht hilfreich sind und es gibt kein Video über...

View Article


How to find the local sideways velocity of an object?

I'm referring to what this gentleman says in the video about creating a vehicle controller. The link below is time stamped https://youtu.be/LG1CtlFRmpU?t=4m37s I have no idea how to find the sideways...

View Article

Recommended store assets or solutions for simple navigation for a handful of...

I have the need for a simple, light-weight, solution for allowing an/several NPC(s) to take vehicles from point A to point B or C, but also be able to traverse back or another waypoint later on...

View Article

uNet | Vehicle Authority - Drivers & Passengers

Hey guys! I have a slight issue. I'm trying to come up with a solution to my networked vehicles. So when the first person gets in, they will obviously be the driver. They request Authority. Get it,...

View Article

How do I attach a wheel mesh to a wheel hub?

So I'm making a vehicle with more than 4 wheels, and I'm using the vehicles package 'sky car' as the base and changing the different meshes and colliders and stuff to the ones for a different vehicle....

View Article


Most Efficient Method for Steering for Vehicle AI

Hi Unity Community! Any tutorial regarding vehicle AI gives the following code for getting the steering magnitude (-1 to 1) to the next waypoint: Vector3 pos =...

View Article

Networked vehicle physics - to rigidbody or not rigidbody?

I'm trying to find the best approach for networking vehicle physics. Right now I have a rigidbody on the parent and everything works fine non-networked, but the problem appears when trying to get this...

View Article


assign waypointcircuit to waypointprogresstracker at runtime

Hi, I'm trying to set up various waypointcircuits in an open world but cannot figure out how to dynamically assign waypointcircuits to the NPC's waypointprogresstracker at runtime. I'm using the...

View Article

Player built vehicles

Hello, I'm hoping this isn't too broad a question and that someone can give me a nudge in the right direction. I've been trying to figure out how to set things up so that the player can construct a...

View Article


Need help making only one car drive at a time

I am making an open world game and a want the ability for the player to get in a random vehicle and only that one to drive but currently they all drive lol using UnityEngine; using System.Collections;...

View Article

Vehicle enter/exit, why is my trigger collider not working?

Okay, so I am making a game where you run around space and do stuff in first person. You have the ability to get in a spaceship and explore. I am trying to create a script that allows the player to...

View Article

Wheel colliders are not sticking to Ground

I'm trying to make a tiny RC car for my game, and after fighting through issues from several third party vehicle assets, i decided to build my own. I did some googling on how to use the wheel...

View Article
Browsing all 123 articles
Browse latest View live