Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    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. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  4. 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,232
    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.