Search Unity

problem with camera and hover....help, please

Discussion in 'Scripting' started by ThierryH, Oct 25, 2014.

  1. ThierryH

    ThierryH

    Joined:
    Jul 1, 2014
    Posts:
    24
    Hello.
    I`m asking for a help.
    I made a hovercar controller and everything good, but
    when the car strafing it slightly falls into the ground (see image 1 & 2):
    1.png 2.png
    As you can see in Hierarchy: I have a hover with boxCollider, rigidbody and all scripts.
    Inside hover there is hover model with model materilal & mesh.
    And all (doors, glasses....) is inside hoverModel.

    The hover strafing I have achieved by hoverModel.Rotate.
    Because I rotate not hoverModel the car didn`t strafing.
    Please, can anybody help.

    And one more question.
    as you can see:
    3.png

    camera goes through rocks when I turn the mouse. How to solve this?