Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    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,079
    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.