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

How do I set a child to active only when the parent is active?

Hello, I checked elsewhere, but I couldn't seem to find a solution. I am creating a game where the player can either be on foot or use vehicles. I used the vehicle hop in/out code to get a start. My...

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


Save a player created gameobject with children?

I'm trying to figure out how to save and load gameobjects assembled by snapping prefabs to the base object. It's kind of like the system Kerbal Space Program uses. I have the snapping together and...

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

How to make vehicles move in forward AND reverse using a touch to move system

I'm in the process of creating a simple Android game using Unity and Hutong Games PlayMaker, and so far it's going really well. The only drawback I've come across is the movement of my vehicles, of...

View Article


Assets Question

Can I use the Unity 5 Standard Assets - Vehicles, for my game I'm going to sell for money? I'm am going to change the model of it, just really want to use the script. also How about all the others...

View Article

Car falling down and down in the terrain??

hi I am a beginner in unity and making a car game for pc in a hilly area.I have download a car prefab and move it in view and i also assigned a first person controller to the view and then drag that...

View Article

What should my Polygon Budget be?

Hello I am currently developing a Racing Game for Desktop. It will not just be cars, but also planes, motorbikes and F1 cars. There will never be any more than 8 cars in the scene at once. The...

View Article


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
Browsing all 123 articles
Browse latest View live


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