# rtphystypes.h File Reference

## Classes
struct | RtCollTrian
struct | RtCollData
struct | RtObjCollision
struct | RtPhysImpulse
struct | RtPhysAttr
struct | RtPhysEnvAttr
struct | RtClothAttr
## Enumerations
enum | RtPhysObjTypes { PHYSATTR_EMPTY = 0x0000, PHYSATTR_ANIM = 0x0001, PHYSATTR_SIMPLE = 0x0002, PHYSATTR_GROUP = 0x0003, PHYSATTR_IK = 0x0004, PHYSATTR_SCRIPT = 0x0005, PHYSATTR_CLOTH = 0x0006, PHYSATTR_TEMP = 0x0007 }
| Physics object type RtPhysAttr::type. More...
enum | RtPhysAttrFlags { PHYS_EMPTY_FL = 0x00000000, PHYS_DISABLECOLLISION_FL = 0x00000001, PHYS_FASTCOLLISION_FL = 0x00000002, PHYS_BOXCOLLISION_FL = 0x00000004, PHYS_BUYONANCY_FL = 0x00000008, PHYS_ACTIVE_FL = 0x00000010, PHYS_ADHESIVE_FL = 0x00000040, PHYS_BREAKABLE_FL = 0x00000080, PHYS_BROKEN_PART_FL = 0x00000100, PHYS_CONDUCTOR_FL = 0x00000400, PHYS_STRING_FL = 0x00000800, PHYS_SELFCOLLISION_FL = 0x00001000, PHYS_DISABLELOCKS_FL = 0x00002000, PHYS_DESTROY_FL = 0x00004000 }
| Physics attribute global flags RtPhysAttr::flags. More...
enum | RtEnvAttrFlags { PHYSENV_EMPTY = 0x0000, PHYSENV_LOCAL_STREAM = 0x0001, PHYSENV_LOCAL_CYCLONE = 0x0002, PHYSENV_WIND_GLOBAL = 0x0004 , PHYSENV_WIND_ACTIVE = 0x0010, PHYSENV_LOCAL_GRAVITY = 0x0020, PHYNENV_LOCAL_ATMOSPHERE = 0x0040, PHYNENV_COLLISION_ENABLED = 0x0080 }
| Local environment global flags RtPhysEnvAttr::type. More...
enum | RtCollPrecision { COLLISION_PRECISION_FULL = 0x0000, COLLISION_PRECISION_FAST = 0x0001, COLLISION_PRECISION_BOX = 0x0002, COLLISION_PRECISION_TRIAN = 0x0003, COLLISION_PRECISION_CLOTH = 0x0004 }
| Collision precision IRiPhysicsCommand::PeerCollision, IRiPhysicsCommand::SceneCollision, IRfCollisionSet::GetObjectCollision, IRfCollisionSet::GetPeerCollision. More...
enum | RtCollType
| Type of collision RtCollTrian::type, RtObjCollision::type, IRdCollInfoDisp::Object. More...
enum | RtPhysImpulseType { IMPULSE_EMPTY = 0x0000, IMPULSE_SPEED = 0x0001, IMPULSE_ROTATION = 0x0002, IMPULSE_NAVIGATION = 0x0004, IMPULSE_NORMAL = 0x0008, IMPULSE_DISABLED = 0x0010 }
| Type of phys impulses RtPhysImpulse::flags. More...

## Detailed Description

## Enumeration Type Documentation

enum RtPhysObjTypes

Physics object type
RtPhysAttr::type.

Enumerator:

  PHYSATTR_EMPTY | None.
  PHYSATTR_ANIM | Animated Object.
  PHYSATTR_SIMPLE | Simple Object.
  PHYSATTR_GROUP | Group Object.
  PHYSATTR_IK | IK Object.
  PHYSATTR_SCRIPT | Script Object.
  PHYSATTR_CLOTH | Cloth Object.
  PHYSATTR_TEMP | Temporary Object.

enum RtPhysAttrFlags

Physics attribute global flags
RtPhysAttr::flags.

Enumerator:

  PHYS_EMPTY_FL | None.
  PHYS_DISABLECOLLISION_FL | Disabled collision.
  PHYS_FASTCOLLISION_FL | Fast collision (one average collision point per object).
  PHYS_BOXCOLLISION_FL | Bounding box collision only.
  PHYS_BUYONANCY_FL | Allowed buoyancy.
  PHYS_ACTIVE_FL | Active object.
  PHYS_ADHESIVE_FL | Adhesive object.
  PHYS_BREAKABLE_FL | Breakable object.
  PHYS_BROKEN_PART_FL | Broken part.
  PHYS_CONDUCTOR_FL | Conductor.
  PHYS_STRING_FL | String effect.
  PHYS_SELFCOLLISION_FL | Self collision allowed for IK object.
  PHYS_DISABLELOCKS_FL | All locks disabled.
  PHYS_DESTROY_FL | Destroy object after simulation.

enum RtEnvAttrFlags

Local environment global flags
RtPhysEnvAttr::type.

Enumerator:

  PHYSENV_EMPTY | None.
  PHYSENV_LOCAL_STREAM | Local stream.
  PHYSENV_LOCAL_CYCLONE | Cyclone like stream.
  PHYSENV_WIND_GLOBAL | Global wind.
  PHYSENV_WIND_ACTIVE | Active object.
  PHYSENV_LOCAL_GRAVITY | Local gravity.
  PHYNENV_LOCAL_ATMOSPHERE | Local atmosphere.
  PHYNENV_COLLISION_ENABLED | Collision enabled.

enum RtCollPrecision

Collision precision
IRiPhysicsCommand::PeerCollision, IRiPhysicsCommand::SceneCollision, IRfCollisionSet::GetObjectCollision, IRfCollisionSet::GetPeerCollision.

Enumerator:

  COLLISION_PRECISION_FULL | Full precision.
  COLLISION_PRECISION_FAST | Only one contact point and normal for two colliding object.
  COLLISION_PRECISION_BOX | Bounding box collision.
  COLLISION_PRECISION_TRIAN | Get only lists of intersected triangles.
  COLLISION_PRECISION_CLOTH | Cloth-like precision if first object is cloth.

enum RtCollType

Type of collision
RtCollTrian::type, RtObjCollision::type, IRdCollInfoDisp::Object.

enum RtPhysImpulseType

Type of phys impulses
RtPhysImpulse::flags.

Enumerator:

  IMPULSE_EMPTY | None.
  IMPULSE_SPEED | Speed impulse.
  IMPULSE_ROTATION | Rotation impulse.
  IMPULSE_NAVIGATION | Navigation impulse.
  IMPULSE_NORMAL | Default impulse.
  IMPULSE_DISABLED | Inactive.