Search Unity

How to set “useGravity” for Rigidbody to entities in Unity

Discussion in 'Documentation' started by ZM14, Jun 26, 2018.

  1. ZM14

    ZM14

    Joined:
    Feb 2, 2017
    Posts:
    3
    For the position you can use this:
    Code (CSharp):
    1. [Inject] private ComponentDataFromEntity<Position> _position;
    ;

    But cant use it for Rigidbody. How to access the parameters for Rigidbody for entities?
     
  2. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,338
    ECS is very much in beta, and there's a lot of features that the devs have said "will be added later". So it might just be missing for now.

    That being said, you should ask this in the ECS subforums.
     
  3. ZM14

    ZM14

    Joined:
    Feb 2, 2017
    Posts:
    3
    Thanks, i didn't know there is sub forum for this.