Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Freeze Specific Rotations in ECS Physics Body

Discussion in 'Physics for ECS' started by growsolutionsapp, Nov 17, 2021.

  1. growsolutionsapp

    growsolutionsapp

    Joined:
    May 12, 2021
    Posts:
    16
    Hi, I was trying to port a small test project from Unity Engine to learn about Unity New Fishers DOTS && ECS.
    It's a small project where I have a capsule with a Rigidbody and I move it from left to right using add force and I clamp the velocity to limit the speed.
    I'm trying to "Freeze Specific Rotations" on DOTS there's Unity Normal Method in an easy way to add Rigidbody and Freeze position and rotation.

    But if we use DOTS there's can't use Rigidbody DOTS use PhysicsBody and there's no have the option to "Freeze Specific Rotations". I'm looking Everywhere but can't get answers to how "Freeze Specific Rotations".
    I need help I'm stuck there so if anyone knows about it helps in their problem.
     
  2. vectorized-runner

    vectorized-runner

    Joined:
    Jan 22, 2018
    Posts:
    398