Search Unity

Setting new prefab to larger Scale but set to vector3 1

Discussion in 'Scripting' started by fbaez51, Sep 19, 2014.

  1. fbaez51

    fbaez51

    Joined:
    Jul 4, 2013
    Posts:
    3
    Hello Forums,

    This is my first post. I am honored!

    Problem: I have a new asset prefab but it's scale is TINY compared to my other assets. I have to enlarge the prefab to scale with my other game objects in the scene. When I instantiate the enlarged prefab, the colliders which I add programmatically become exponentially large.

    Question: Is there a way to set the enlarge prefab to scale vector3 to 1 and save it a new prefab? So it may scale correctly with my code. :)

    Please let me know if this is clear. I will answer any curiosity or unclear information.

    Thanks,
    Felix
     
  2. fbaez51

    fbaez51

    Joined:
    Jul 4, 2013
    Posts:
    3
    My coworker figured it out!

    In the Prefab Import Settings, set the scale factor from 0.01 to 0.1 or what ever you need it to be.

    Thanks,
    Felix