Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

IgnoreFilter

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

A ignore flags are a narrow selection of objects/types in the world which needs to be ignored.

Properties

Property Description
None No draw filtering occurs.
IgnoreStaticBodies Ignore PhysicsBody of type PhysicsBody.BodyType.Static.
IgnoreKinematicBodies Ignore PhysicsBody of type PhysicsBody.BodyType.Kinematic.
IgnoreDynamicBodies Ignore PhysicsBody of type PhysicsBody.BodyType.Dynamic.
IgnoreTriggerShapes Ignore PhysicsShape that are configured as a trigger. See PhysicsShape.isTrigger.
IgnoreNonTriggerShapes Ignore PhysicsShape that are not configured as a trigger. See PhysicsShape.isTrigger.
IgnoreCircleShapes Ignore PhysicsShape of type PhysicsShape.ShapeType.Circle. See PhysicsShape.shapeType.
IgnoreCapsuleShapes Ignore PhysicsShape of type PhysicsShape.ShapeType.Capsule. See PhysicsShape.shapeType.
IgnorePolygonShapes Ignore PhysicsShape of type PhysicsShape.ShapeType.Polygon. See PhysicsShape.shapeType.
IgnoreSegmentShapes Ignore PhysicsShape of type PhysicsShape.ShapeType.Segment. See PhysicsShape.shapeType.
IgnoreChainSegmentShapes Ignore PhysicsShape of type PhysicsShape.ShapeType.ChainSegment. See PhysicsShape.shapeType and PhysicsChain.