Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

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:
    3,599
    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.