> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "C_OP_WorldTraceConstraint"
navbar: dynamic
asidebar: hide
---
# C\_OP\_WorldTraceConstraint

Schema class in module `particles`.

## Summary

- Kind: `class`
- Module: `particles`
- Size: `2568 (0x0A08)`
- Size bytes: `2568`
- Parent: `CParticleFunctionConstraint`
- Inherited fields: `16`
- Product: Counter-Strike 2

### Metadata

- `MGPUParticleFunction`

## Inheritance

- [CParticleFunctionConstraint](/cs2/dumped_data/schema/particles/CParticleFunctionConstraint) (class)
- [CParticleFunction](/cs2/dumped_data/schema/particles/CParticleFunction) (class)
- [value.DeclaredClass](/cs2/api_reference/engine/value#valuedeclaredclass) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_nCP` | [number](/cs2/api_reference/lua/base#number) | 480 (0x01E0) | - | - | `MPropertyFriendlyName`: "control point for fast collision tests" |
| `m_vecCpOffset` | [Vector](/cs2/api_reference/mathlib/vector#vector-1) | 484 (0x01E4) | - | - | `MPropertyFriendlyName`: "control point offset for fast collisions"<br />`MVectorIsCoordinate` |
| `m_nCollisionMode` | [ParticleCollisionMode\_t](/cs2/dumped_data/schema/particles/ParticleCollisionMode_t) | 496 (0x01F0) | - | - | `MPropertyFriendlyName`: "collision mode" |
| `m_nCollisionModeMin` | [ParticleCollisionMode\_t](/cs2/dumped_data/schema/particles/ParticleCollisionMode_t) | 500 (0x01F4) | - | - | `MPropertyFriendlyName`: "minimum detail collision mode" |
| `m_nTraceSet` | [ParticleTraceSet\_t](/cs2/dumped_data/schema/particles/ParticleTraceSet_t) | 504 (0x01F8) | - | - | `MPropertyStartGroup`: "Collision Options"<br />`MPropertyFriendlyName`: "Trace Set" |
| `m_CollisionGroupName` | [string](/cs2/api_reference/lua/base#string) | 508 (0x01FC) | - | - | `MPropertyFriendlyName`: "collision group" |
| `m_bWorldOnly` | [boolean](/cs2/api_reference/lua/base#boolean) | 636 (0x027C) | - | - | `MPropertyFriendlyName`: "World Only" |
| `m_bBrushOnly` | [boolean](/cs2/api_reference/lua/base#boolean) | 637 (0x027D) | - | - | `MPropertyFriendlyName`: "brush only" |
| `m_bIncludeWater` | [boolean](/cs2/api_reference/lua/base#boolean) | 638 (0x027E) | - | - | `MPropertyFriendlyName`: "include water"<br />`MPropertySuppressExpr`: "m\_nTraceSet == PARTICLE\_TRACE\_SET\_STATIC" |
| `m_nIgnoreCP` | [number](/cs2/api_reference/lua/base#number) | 640 (0x0280) | - | - | `MPropertyFriendlyName`: "CP Entity to Ignore for Collisions"<br />`MPropertySuppressExpr`: "m\_nTraceSet == PARTICLE\_TRACE\_SET\_STATIC" |
| `m_flCpMovementTolerance` | [number](/cs2/api_reference/lua/base#number) | 644 (0x0284) | - | - | `MPropertyFriendlyName`: "control point movement distance tolerance"<br />`MPropertySuppressExpr`: "m\_nCollisionMode == COLLISION\_MODE\_PER\_PARTICLE\_TRACE" |
| `m_flRetestRate` | [number](/cs2/api_reference/lua/base#number) | 648 (0x0288) | - | - | `MPropertyFriendlyName`: "plane cache retest rate"<br />`MPropertySuppressExpr`: "m\_nCollisionMode != COLLISION\_MODE\_PER\_FRAME\_PLANESET" |
| `m_flTraceTolerance` | [number](/cs2/api_reference/lua/base#number) | 652 (0x028C) | - | - | `MPropertyFriendlyName`: "trace accuracy tolerance"<br />`MPropertySuppressExpr`: "m\_nCollisionMode != COLLISION\_MODE\_USE\_NEAREST\_TRACE" |
| `m_flCollisionConfirmationSpeed` | [number](/cs2/api_reference/lua/base#number) | 656 (0x0290) | - | - | `MPropertyFriendlyName`: "Confirm Collision Speed Threshold"<br />`MPropertySuppressExpr`: "m\_nCollisionMode == COLLISION\_MODE\_PER\_PARTICLE\_TRACE" |
| `m_nMaxTracesPerFrame` | [number](/cs2/api_reference/lua/base#number) | 660 (0x0294) | - | - | `MPropertyFriendlyName`: "Max Confirmation Traces Per Fame"<br />`MPropertySuppressExpr`: "m\_nCollisionMode == COLLISION\_MODE\_PER\_PARTICLE\_TRACE" |
| `m_bDecayBounce` | [boolean](/cs2/api_reference/lua/base#boolean) | 2168 (0x0878) | - | - | `MPropertyFriendlyName`: "Add Decay to Bounce" |
| `m_bKillonContact` | [boolean](/cs2/api_reference/lua/base#boolean) | 2169 (0x0879) | - | - | `MPropertyFriendlyName`: "kill particle on collision" |
| `m_flMinSpeed` | [number](/cs2/api_reference/lua/base#number) | 2172 (0x087C) | - | - | `MPropertyFriendlyName`: "minimum speed to kill on collision" |
| `m_bKillonContactBounce` | [boolean](/cs2/api_reference/lua/base#boolean) | 2176 (0x0880) | - | - | `MPropertyFriendlyName`: "calculate bounce on killed particles (for child events)"<br />`MPropertySuppressExpr`: "m\_bKillonContact == false" |
| `m_bSetNormal` | [boolean](/cs2/api_reference/lua/base#boolean) | 2177 (0x0881) | - | - | `MPropertyFriendlyName`: "Set Normal" |
| `m_nStickOnCollisionField` | [number](/cs2/api_reference/lua/base#number) | 2180 (0x0884) | - | - | `MPropertyFriendlyName`: "Stick On Collision Cache Field"<br />`MPropertyAttributeChoiceName`: "particlefield\_vector" |
| `m_nEntityStickDataField` | [number](/cs2/api_reference/lua/base#number) | 2560 (0x0A00) | - | - | `MPropertyFriendlyName`: "Entity Hitbox Cache Field (Requires Stick on Collision)"<br />`MPropertyAttributeChoiceName`: "particlefield\_vector" |
| `m_nEntityStickNormalField` | [number](/cs2/api_reference/lua/base#number) | 2564 (0x0A04) | - | - | `MPropertyFriendlyName`: "Entity Normal Cache Field (Requires Stick on Collision)"<br />`MPropertyAttributeChoiceName`: "particlefield\_vector" |

## Inherited Fields From CParticleFunction

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_nOpEndCapState` | [ParticleEndcapMode\_t](/cs2/dumped_data/schema/particles/ParticleEndcapMode_t) | 384 (0x0180) | - | - | `MPropertyFriendlyName`: "operator end cap state"<br />`MPropertySortPriority`: -100 |
| `m_nToolsState` | [ParticleToolsState\_t](/cs2/dumped_data/schema/particles/ParticleToolsState_t) | 388 (0x0184) | - | - | `MPropertyFriendlyName`: "operator enabled in tools or game only"<br />`MPropertySortPriority`: -100 |
| `m_flOpStartFadeInTime` | [number](/cs2/api_reference/lua/base#number) | 392 (0x0188) | - | - | `MPropertyStartGroup`: "Operator Fade"<br />`MPropertyFriendlyName`: "operator start fadein"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpEndFadeInTime` | [number](/cs2/api_reference/lua/base#number) | 396 (0x018C) | - | - | `MPropertyFriendlyName`: "operator end fadein"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpStartFadeOutTime` | [number](/cs2/api_reference/lua/base#number) | 400 (0x0190) | - | - | `MPropertyFriendlyName`: "operator start fadeout"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpEndFadeOutTime` | [number](/cs2/api_reference/lua/base#number) | 404 (0x0194) | - | - | `MPropertyFriendlyName`: "operator end fadeout"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpFadeOscillatePeriod` | [number](/cs2/api_reference/lua/base#number) | 408 (0x0198) | - | - | `MPropertyFriendlyName`: "operator fade oscillate"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_bNormalizeToStopTime` | [boolean](/cs2/api_reference/lua/base#boolean) | 412 (0x019C) | - | - | `MPropertyFriendlyName`: "normalize fade times to endcap"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpTimeOffsetMin` | [number](/cs2/api_reference/lua/base#number) | 416 (0x01A0) | - | - | `MPropertyStartGroup`: "Operator Fade Time Offset"<br />`MPropertyFriendlyName`: "operator fade time offset min"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpTimeOffsetMax` | [number](/cs2/api_reference/lua/base#number) | 420 (0x01A4) | - | - | `MPropertyFriendlyName`: "operator fade time offset max"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_nOpTimeOffsetSeed` | [number](/cs2/api_reference/lua/base#number) | 424 (0x01A8) | - | - | `MPropertyFriendlyName`: "operator fade time offset seed"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_nOpTimeScaleSeed` | [number](/cs2/api_reference/lua/base#number) | 428 (0x01AC) | - | - | `MPropertyStartGroup`: "Operator Fade Timescale Modifiers"<br />`MPropertyFriendlyName`: "operator fade time scale seed"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpTimeScaleMin` | [number](/cs2/api_reference/lua/base#number) | 432 (0x01B0) | - | - | `MPropertyFriendlyName`: "operator fade time scale min"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpTimeScaleMax` | [number](/cs2/api_reference/lua/base#number) | 436 (0x01B4) | - | - | `MPropertyFriendlyName`: "operator fade time scale max"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_bDisableOperator` | [boolean](/cs2/api_reference/lua/base#boolean) | 442 (0x01BA) | - | - | `MPropertyStartGroup`<br />`MPropertySuppressField` |
| `m_Notes` | [string](/cs2/api_reference/lua/base#string) | 448 (0x01C0) | - | - | `MPropertyFriendlyName`: "operator help and notes"<br />`MParticleHelpField`<br />`MPropertyAttributeEditor`: "TextBlock()"<br />`MPropertySortPriority`: -100 |

## Inherited Fields From CParticleFunctionConstraint

No fields.

