Search Unity

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