Quantcast
Channel: Questions in topic: "vehicles"
Browsing latest articles
Browse All 123 View Live

Enter/Exit Vehicle With UNet

All the topic's I've viewed so far are not what I want. I currently have a good, dependable script for entering and exiting a vehicle in singleplayer, but I'm at a total loss trying to network it....

View Article



My car is shaking [Wheel colliders]

Hey everybody ! I'm making a racing game but i have a problem, i make a track with blender but my vehicule is always shaking and it overturn... Some one can help me ? for wheel colliders i use the...

View Article

How do I constantly update a variable that is displayed in a UI text component?

I have a vehicle level that I set up using the Standard Assets vehicle sample level. The CarController script contains a float named Revs that I want to constantly update in the UI while driving...

View Article

Referencing a GameObject's Components from if Statements (c#)

So I've been working on a small little Multi-Player game using Photon and such. Everything is working exactly as planned, except for one thing, which is the only thing preventing me from finishing this...

View Article

Please Help !

Hey Guys i wanna know how levels are build in unity . i mean i am making a game that have different things to unlock like locations/cars etc . so if the user clicks on a particular location it should...

View Article


Unity APC game ("vehicle logic ") wheel collider insanely slow

hello, im having an issue with my Apc game( like tank but smaller ") in unity 5.4 . i've used lots of scripts with the wheel collider, but i move very very slow. here my script : #pragma strict var...

View Article

Relation between motor RPM, gear ratio, and clutch when accelerating

Hello ! I'm making a vehicle controller script. And I want it to be the most realistic as possible, I've already made the steering, and other parameters, but I'm now making the script when...

View Article

Need updated script for getting in and out of vehicles in unity 5.4

Hi, I have been working on a game in unity for a few weeks now. I have not found a script on this website that will work for getting in and out of vehicles (for default unity vehicles). Please can...

View Article


How to find and use a certain script without using GetComponent?

I'm currently working on a system for the player to switch between different vehicles. When the player moves inside the trigger collider and presses a button, they become a child of the vehicle, the...

View Article


Pathfinding on Instantiated AI Vehicles

Hi, I was wondering if there's anyway that a certain type of vehicle can go to a specific path ? For example , I have this traffic system with me. I have car types divided such as a private vehicle and...

View Article

Networking server authoritative player input

I'm trying to do multicrew vehicle and players interacting with levers/buttons, getting in and out of vehicles, etc. To do this I need to collect and pass the player's input state to the server. Is...

View Article

Best practices for multiplayer multi crew vehicles.

I've been looking around for some advice on how to implement multi-crew vehicles in multiplayer within Unity. Basically vehicles that exist as their own entity and players can hop in and out of...

View Article

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

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 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


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


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


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

vehicle tools

can someone explain how to use your own truck model, with the unity vehicle tools assets, its not working properly and I am not sure what I am doing wrong. And should the wheel collider be exactly the...

View Article

Vehicle controller not working well

I am working on a racing game and have an issue with the vehicle controller. When the car gets moving the brake becomes very unresponsive and the car will keep accelerating until it hits something or...

View Article



How do I put terrain and vehicles into my project,How do you add vehicles and...

,I want to put in terrain and vehicles into my project but i don't know how to.

View Article
Browsing latest articles
Browse All 123 View Live




Latest Images