기술 자료

Unity Engine

Unity Engine

bounceCombine

The bounciness combine mode used by the Collider2D.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public PhysicsMaterialCombine2D bounceCombine { get; }

Remarks

A Collider2D can have a PhysicsMaterial2D assigned in several ways: directly through the Collider2D.sharedMaterial, indirectly through the attached Rigidbody2D.sharedMaterial, or by using the global default. If no PhysicsMaterial2D is assigned, a default value is used.