文档

Unity Engine

Unity Engine

useConeFriction

Force cone friction to be used for this rigidbody.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
警告
Removed. Cone friction is no longer supported.
public bool useConeFriction { get; set; }

Remarks

This insures that all contacts involving the actor will use cone friction. This will however have a negative impact on performance. By default this is off and a much faster and almost as good approximation called pyramid friction method is used. In most cases it is recommended to leave this value off.