DOTS Constrain PhysicsVelocity to X and Y

Is there a way to constrain a the rotation axis of a physics body that has rotation applied with physicsVelocity.SetAngularVelocityWorldSpace(mass, rotation, force);

I have tried using the constraints on the Rigidbody and setting the Inertia Tensor on the rotation I wish to constrain to infinity like suggested in some other threads

Not sure what else to try as searches mostly turn up stuff for non-ECS methods.

Thanks

1 Like