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

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


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

how do I enter vehicles like a car or a jet?

View Article

How To Wiggle A Vehicle Antenna?

Ok so I'm making a tank game. The tank is physics based and works perfectly. The only concern I have is this visual-only effect where an antenna on a vehicle wiggles based on movement. As an example of...

View Article

Camera rig warning! Auto Cam Script

Hi, I am trying to fix a camera to a car so that when it is driven, the camera will follow. Much to my annoyance, this isn't working for me as easy as I'd hoped. I have the car already active but every...

View Article
Browsing all 123 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>