Jump to content

PHYSICS STATE INT

From Aelrynth Wiki
# PhysicsState Enum Documentation

| Constant                              | Bit Shift | Hex Value  | Description                          |
|---------------------------------------|-----------|------------|--------------------------------------|
| `STATIC_PS`                           | 1 << 0    | 0x1        | Object is static                     |
| `UNUSED1_PS`                          | 1 << 1    | 0x2        | Unused flag                          |
| `ETHEREAL_PS`                         | 1 << 2    | 0x4        | Object is ethereal / intangible      |
| `REPORT_COLLISIONS_PS`                | 1 << 3    | 0x8        | Report collisions                    |
| `IGNORE_COLLISIONS_PS`                | 1 << 4    | 0x10       | Ignore collisions                    |
| `NODRAW_PS`                           | 1 << 5    | 0x20       | Do not render/draw                   |
| `MISSILE_PS`                          | 1 << 6    | 0x40       | Object behaves like a missile        |
| `PUSHABLE_PS`                         | 1 << 7    | 0x80       | Object can be pushed                 |
| `ALIGNPATH_PS`                        | 1 << 8    | 0x100      | Aligns to path                       |
| `PATHCLIPPED_PS`                      | 1 << 9    | 0x200      | Path is clipped                      |
| `GRAVITY_PS`                          | 1 << 10   | 0x400      | Affected by gravity                  |
| `LIGHTING_ON_PS`                      | 1 << 11   | 0x800      | Lighting enabled                     |
| `PARTICLE_EMITTER_PS`                 | 1 << 12   | 0x1000     | Emits particles                      |
| `UNNUSED2_PS`                         | 1 << 13   | 0x2000     | Unused flag                          |
| `HIDDEN_PS`                           | 1 << 14   | 0x4000     | Hidden from view                     |
| `SCRIPTED_COLLISION_PS`               | 1 << 15   | 0x8000     | Collision handled via script         |
| `HAS_PHYSICS_BSP_PS`                  | 1 << 16   | 0x10000    | Has physics BSP                      |
| `INELASTIC_PS`                        | 1 << 17   | 0x20000    | Inelastic collisions                 |
| `HAS_DEFAULT_ANIM_PS`                 | 1 << 18   | 0x40000    | Has default animation                |
| `HAS_DEFAULT_SCRIPT_PS`               | 1 << 19   | 0x80000    | Has default script                   |
| `CLOAKED_PS`                          | 1 << 20   | 0x100000   | Object is cloaked/invisible          |
| `REPORT_COLLISIONS_AS_ENVIRONMENT_PS` | 1 << 21   | 0x200000   | Report collisions as environment     |
| `EDGE_SLIDE_PS`                       | 1 << 22   | 0x400000   | Slides along edges                   |
| `SLEDDING_PS`                         | 1 << 23   | 0x800000   | Sledding behavior                    |
| `FROZEN_PS`                           | 1 << 24   | 0x1000000  | Object is frozen                     |