文档

Unity Engine

Unity Engine

PhysicsIgnoreJointDefinition

A joint definition used to specify properties when creating a PhysicsIgnoreJoint.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Struct
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public struct PhysicsIgnoreJointDefinition

Constructors

Constructor

Description

PhysicsIgnoreJointDefinition()Create a default PhysicsIgnoreJoint definition.

Properties

Property

Description

bodyAThe first body the joint constrains.
bodyBThe second body the joint constrains.
worldDrawingControls whether this joint is automatically drawn when the world is drawn.

Static Properties

Property

Description

defaultDefinitionCreate a default PhysicsIgnoreJoint definition.