Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Units

Discussion in 'Editor & General Support' started by KzD, Jan 13, 2012.

  1. KzD

    KzD

    Joined:
    Dec 31, 2011
    Posts:
    52
    does anyone know how to change the units in unity to feet inches?
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Units are whatever you say they are...they're not meters, or anything, they're just units. (Though by default they can be assumed to be meters because of a few default settings such as gravity.y being -9.81). There isn't a setting anywhere to define units; it's just a matter of what your code does plus those settings such as gravity.

    --Eric
     
  3. KzD

    KzD

    Joined:
    Dec 31, 2011
    Posts:
    52
    I see,
    I guess what I was looking for more so is Im creating all my models for my game currently in Cinema 4D R12 and scaling them to feet to try to be as realistic as possible and if I could get unity on the same system I feel it would be easy to import them and have everything appear the same size without having to eyeball everything?

    Maybe what im asking isnt normal?

    I just recently made a huge level to scale in C4D that im very happy with but when importing it into unity the character is too small and it seems like it will be a constant battle of sizing stuff up all the time?
     
  4. Ntero

    Ntero

    Joined:
    Apr 29, 2010
    Posts:
    1,436
    I'm going to disagree with Eric5h5.

    In the physics Docs: http://unity3d.com/support/documentation/Manual/Physics.html
    It states: "Unity's default unit scale is 1 unit = 1 meter"

    Even if you change Gravity settings, Unity's physics will act unrealistic using other scales. Unless you are not using PhysX at all, try to maintain the 1 unit = 1 meter, and it can save you a lot of headaches.
     
  5. KzD

    KzD

    Joined:
    Dec 31, 2011
    Posts:
    52
    I understand, well isnt it simply that one meter = about 3 feet anyway?

    I can just base it on that, cause its mainly a height issue anyways,

    I dont want to throw off the system and get into messing with the gravity and all that,

    This is the 1st project ive worked on so im learning alot at high speed.
     
  6. Moonjump

    Moonjump

    Joined:
    Apr 15, 2010
    Posts:
    2,572
    If your units are in feet, and feet are appearing as metres in Unity, then everything should be too big, not too small as you suggest.

    I know when I import anything from Wings 3D I have to scale them by 0.1. Perhaps C4D does the opposite and needs scaling by 10 normally? To then take account of the units difference, you could try setting the import scale to 3.048 (as 1 foot = 0.3048 metres).
     
  7. KzD

    KzD

    Joined:
    Dec 31, 2011
    Posts:
    52
    I actually noticed that importing from scetch up pro you do 0.1 and then cinema 4d is 10.0 seems to work