Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Cant find LocalToWorld and Translation using Unity.Transforms;

Discussion in 'Entity Component System' started by RoughSpaghetti3211, Sep 16, 2019.

  1. RoughSpaghetti3211

    RoughSpaghetti3211

    Joined:
    Aug 11, 2015
    Posts:
    1,697
    Cant find LocalToWorld & Translation. What am I missing here
     

    Attached Files:

  2. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,683
    using Unity.Transforms;
     
  3. RoughSpaghetti3211

    RoughSpaghetti3211

    Joined:
    Aug 11, 2015
    Posts:
    1,697
    Yup got that so weird
     
  4. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,753
    Might sound dumb but...

    have you added Unity.Transforms to your asmdef.
     
  5. RoughSpaghetti3211

    RoughSpaghetti3211

    Joined:
    Aug 11, 2015
    Posts:
    1,697
    Yup I didnt press apply in my asmdef in the inspector. Thing turn to custard at 2am. Thank you