unreal.CollisionTraceFlag

class unreal.CollisionTraceFlag

Bases: EnumBase

ECollision Trace Flag

C++ Source:

  • Module: PhysicsCore

  • File: BodySetupEnums.h

CTF_USE_COMPLEX_AS_SIMPLE: CollisionTraceFlag

Create only complex shapes (per poly). Use complex shapes for all scene queries and collision tests. Can be used in simulation for static shapes only (i.e can be collided against but not moved through forces or velocity.)

Type:

3

CTF_USE_DEFAULT: CollisionTraceFlag

Use project physics settings (DefaultShapeComplexity)

Type:

0

CTF_USE_SIMPLE_AND_COMPLEX: CollisionTraceFlag

Create both simple and complex shapes. Simple shapes are used for regular scene queries and collision tests. Complex shape (per poly) is used for complex scene queries.

Type:

1

CTF_USE_SIMPLE_AS_COMPLEX: CollisionTraceFlag

Create only simple shapes. Use simple shapes for all scene queries and collision tests.

Type:

2