I'm trying to make my 3d character not rotate on the x axis, the rigidbody rotation constraint doesnt stop the rotation

前端 未结 0 1278
说谎
说谎 2020-12-12 16:39
void Update()
{
   transform.LookAt(target);
}

This is what I\'m using that causes the object to rotate.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题