unity – Simple Car Animation Acceleration Too Slow

I am trying to make a very simple car animation where using the arrow keys, I can make a car move around. I am using wheel colliders and some code that goes like this:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Car_My : MonoBehaviour
    public float Motorforce, Steerforce, Brakeforce;
    public WheelCollider FR_L_Wheel, FR_R_Wheel, RE_L_Wheel, RE_R_Wheel;
    // Start is called before the first frame update
    void Start()
    // Update is called once per frame
    void Update()
        float v = Input.GetAxis("Vertical") * Motorforce;
        float h = Input.GetAxis("Horizontal") * Steerforce;
        RE_L_Wheel.motorTorque = v;
        RE_R_Wheel.motorTorque = v;
        FR_L_Wheel.steerAngle = h;
        FR_R_Wheel.steerAngle = h;
            RE_L_Wheel.brakeTorque = Brakeforce;
            RE_R_Wheel.brakeTorque = Brakeforce;
            RE_R_Wheel.brakeTorque = 0;
            RE_L_Wheel.brakeTorque = 0;
        if(Input.GetAxis("Vertical") == 0)
            RE_L_Wheel.brakeTorque = Brakeforce;
            RE_R_Wheel.brakeTorque = Brakeforce;
            RE_R_Wheel.brakeTorque = 0;
            RE_L_Wheel.brakeTorque = 0;

When I do this, the car moves but it accelerates too slowly. I changed all the values but I cannot get it to start at a faster speed. Any help is highly appreciated.

unity – How to detect which car T-boned the other in a collision?

The game has cars and collisions, and I’m trying to create the following system:

  • When a car T-bones another, the one getting T-boned is destroyed;
  • When the cars collide laterally (usually just bump into each other), a normal physics collision happens (and nothing is destroyed);
  • When the cars collide head-on, the lighter one is destroyed.

The cars are all instantiated from 1 prefab. This can’t be changed.

Car Setup

The main body sans the bumper has a normal, non-trigger collider and the dynamic Rigidbody. It has the tag “Destructible”.

A child object (which also houses the bumper model, but that shouldn’t matter) has a normal, non-trigger collider for the bumper. It has no Rigidbody and reports to the parent’s Rigidbody. It has the tag “Destroyer”.

1) The transform.forward solution

Get the transform.forwards of both cars and compute their dot product.

  • If the 2 vectors are opposite each other (or close to it), destroy the lighter car.
  • If the vectors are facing away from each other (or are close to parallel), let a normal collision happen.
  • If the vectors are perpendicular (or somewhere in that ballpark)… then I’m lost. How do I know which car T-boned which?

That brings us to the solution #2.

2) The ‘multiple colliders’ solution

Assign another collider to the bumper of the car and give it a separate tag (e.g. “Destroyer). As a consequence, give the other — main — collider a tag, too (e.g. “Destructible”).

  • If a Destroyer collider hits a Destructible, the latter is destroyed.
  • If a Destructible hits a Destructible, a normal physics collision happens.
  • If a Destroyer hits a Destroyer, destroy the lighter one.

But here, I run into an issue.

  1. You can’t have multiple colliders on the same game object. Ergo, create an empty child and attach it there. I won’t set it to Trigger, or otherwise it won’t detect collisions with another of its type (i.e. Destroyer).
  2. In order to destroy colliding objects, I need a script and an OnCollisionEnter() inside it.
  3. OnCollisionEnter() won’t run if neither of the game objects has a non-kinematic Rigidbody. This means I need to give the bumper colliders a non-kinematic Rigidbody.
  4. But if I give them dynamic Rigidbodies, they’ll just… float away from the car.

In other words, I need a way to create a 2nd collider but keep it firmly attached to the car. Furthermore, if the main collider covers it, then I need to exempt it from collisions with the 2nd collider (let’s call it the sub-collider), and I can’t use layers to do that or otherwise the sub-collider won’t detect main colliders on other cars.

If I don’t cover it, then I need the sub-collider to act as a normal physics collider, too, when it hits, for example, a wall, and not have the bumper sink into it. That means it needs a non-kinematic Rigidbody.

How can I solve this issue?

Welcome to Hello Taxi Service, We are providing the best car rental service in India.

Hello Taxi Service is a leading online car rental service provider in India providing Best and reliable car rental Service in India. We provide Online taxi booking and Cab Booking in India. For Taxi Service in India, call us at +91 8423212190
Visit Us >>>> HelloTaxiservice.com


What car is better? RC Car blue 4X4 2.4Ghz or Strong Crawler 4×4?

Hey guys,
I need to contact with you regarding the choice of the car for my son. Found rckane.cz e-shop in Europe.
What car is better:
Strong Crawler 4×4
RC Car blue 4X4 2.4Ghz
Any recommendations please?


storage – What will happen to exposed 35mm film left in a car in summer heat for 3 weeks?

The colors will probably shift a bit more than if you had stored it in proper conditions for those three weeks. As Alan answers in great detail, the shift should not be great and proper processing can correct most of the difference.

Leaving the film in the trunk will have caused significantly less color shift than if you had left the film in the passenger compartment while parked in direct sunlight for three weeks.

You didn’t say what part of the world you are in, so we can only speculate. Where I live in a subtropical climate, the temperatures routinely reach 90°F (32°C) and above in the summer. If my car is parked in direct sunlight, the passenger compartment can get to 140°F (60°C) or more, while my trunk tops out at about 105°F (40°C). If the car is parked in the shade, the temperature in both the passenger compartment and the trunk stays about the same as the ambient temperature.

Car Wrap in Los Angeles

Car Wrap in Los Angeles | Axiom Print

[FONT=Abyssinica SIL][COLOR=#222635]CarWrap is to give a new look to your car by applying a large sheet ofvinyl. [/COLOR][COLOR=#222635]Vinylis helpful for repair and replacement of car parts if any section isdamaged. The resale value of your car will be more than the originalone. You can easily get professionals [/COLOR][COLOR=#222635]anddifferent designs[/COLOR][COLOR=#222635]from Axiom Print for pasting vinyl wrap on your car.[/COLOR][/FONT]

[FONT=Abyssinica SIL][COLOR=#222635]Wrappingis come in so many designs that make your car unique [/COLOR][COLOR=#222635]andyou can change at any time when you bored from the previous design.You can style your vehicle according to your requirement as well asprotect you vehicle. From high quality and high resolution of wraps,you can get more attention and your vehicle looks more beautiful.Customers also create wraps for any of there product advertisment.[/COLOR][/FONT]

Will I have to quarantine if traveling to the UK by eurotunnel without exiting the car in France?

Starting my journey to the UK from an exempt country, say, Germany, I will have to travel through France by car to get to the Eurotunnel. I would not stop, leave the car, take on any passenger, etc.

I don’t know the exact procedure at the Eurotunnel.

Will I have to go into self isolation for 14 days according to the new rules for France (August 14th 2020)?

Are there any viable alternative ways to get me and my car to the UK from Germany without quarantine?

car issue -_-

Hey there. Guys, I have the issue – I want to buy a car not expensive and used. I have some variants and I need to check they on any defects and issues somehow, but HOW?