Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to modify the Scale of an entity's tranform

Discussion in 'Entity Component System' started by Soaryn, Apr 11, 2018.

  1. Soaryn

    Soaryn

    Joined:
    Apr 17, 2015
    Posts:
    328
    Using the existing Transform Systems, I noticed that there may be a lack of scale support in the current system. Is this something still to be added later or is there another way to scale an entity for say the purposes of rendering differing sizes of different cubes based on an entity value.

    It would seem only Position and Rotation are supported at the moment.

    **Edit: I did see this after posting and it may be useful. https://forum.unity.com/threads/transformmatrixcomponent-and-scaling.524054/
     
    Last edited: Apr 11, 2018
  2. mike_acton

    mike_acton

    Unity Technologies

    Joined:
    Nov 21, 2017
    Posts:
    110
    There is no scale component currently. It'll likely be added on the next redesign of the Transform System.
     
    DwinTeimlon, optimise and FROS7 like this.
  3. deus0

    deus0

    Joined:
    May 12, 2015
    Posts:
    256
    When will this be supported? Is there a work around?
     
  4. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,738
    The most recent (staging) release has scale
     
  5. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,732
    Is
    I think this is unofficial none public release, if I am correct.
    Either way, atm. you probably should wait for official release of preview, or wait for 2018.3, or use temp solution from the link provided in first post.
     
  6. mike_acton

    mike_acton

    Unity Technologies

    Joined:
    Nov 21, 2017
    Posts:
    110
    Next public release will have scale.
     
    laurentlavigne likes this.