Physics_Enums

EPE_Action Enumeration
C++
enum EPE_Action {
  ePE_action_move = 1,
  ePE_action_impulse = 2,
  ePE_action_drive = 3,
  ePE_action_reset = 4,
  ePE_action_add_constraint = 5,
  ePE_action_update_constraint = 6,
  ePE_action_register_coll_event = 7,
  ePE_action_awake = 8,
  ePE_action_remove_all_parts = 9,
  ePE_action_set_velocity = 10,
  ePE_action_attach_points = 11,
  ePE_action_target_vtx = 12,
  ePE_action_reset_part_mtx = 13,
  ePE_action_notify = 14,
  ePE_action_auto_part_detachment = 15,
  ePE_action_move_parts = 16,
  ePE_action_batch_parts_update = 17,
  ePE_action_slice = 18,
  ePE_Action_Count
};
File

physinterface.h

EPE_GeomParams Enumeration
C++
enum EPE_GeomParams {
  ePE_geomparams = 0,
  ePE_cargeomparams = 1,
  ePE_articgeomparams = 2,
  ePE_GeomParams_Count
};
File

physinterface.h

EPE_Params Enumeration
C++
enum EPE_Params {
  ePE_params_pos = 0,
  ePE_player_dimensions = 1,
  ePE_params_car = 2,
  ePE_params_particle = 3,
  ePE_player_dynamics = 4,
  ePE_params_joint = 5,
  ePE_params_part = 6,
  ePE_params_sensors = 7,
  ePE_params_articulated_body = 8,
  ePE_params_outer_entity = 9,
  ePE_simulation_params = 10,
  ePE_params_foreign_data = 11,
  ePE_params_buoyancy = 12,
  ePE_params_rope = 13,
  ePE_params_bbox = 14,
  ePE_params_flags = 15,
  ePE_params_wheel = 16,
  ePE_params_softbody = 17,
  ePE_params_area = 18,
  ePE_tetrlattice_params = 19,
  ePE_params_ground_plane = 20,
  ePE_params_structural_joint = 21,
  ePE_params_waterman = 22,
  ePE_params_timeout = 23,
  ePE_params_skeleton = 24,
  ePE_params_structural_initial_velocity = 25,
  ePE_params_collision_class = 26,
  ePE_Params_Count
};
File

physinterface.h

Description

Physics defines.

EPE_Status Enumeration
C++
enum EPE_Status {
  ePE_status_pos = 1,
  ePE_status_living = 2,
  ePE_status_vehicle = 4,
  ePE_status_wheel = 5,
  ePE_status_joint = 6,
  ePE_status_awake = 7,
  ePE_status_dynamics = 8,
  ePE_status_collisions = 9,
  ePE_status_id = 10,
  ePE_status_timeslices = 11,
  ePE_status_nparts = 12,
  ePE_status_contains_point = 13,
  ePE_status_rope = 14,
  ePE_status_vehicle_abilities = 15,
  ePE_status_placeholder = 16,
  ePE_status_softvtx = 17,
  ePE_status_sensors = 18,
  ePE_status_sample_contact_area = 19,
  ePE_status_caps = 20,
  ePE_status_check_stance = 21,
  ePE_status_waterman = 22,
  ePE_status_area = 23,
  ePE_status_extent = 24,
  ePE_status_random = 25,
  ePE_status_constraint = 26,
  ePE_status_netpos = 27,
  ePE_Status_Count
};
File

physinterface.h

EPhysicsForeignIds Enumeration
C++
enum EPhysicsForeignIds {
  PHYS_FOREIGN_ID_TERRAIN = 0,
  PHYS_FOREIGN_ID_STATIC = 1,
  PHYS_FOREIGN_ID_ENTITY = 2,
  PHYS_FOREIGN_ID_FOLIAGE = 3,
  PHYS_FOREIGN_ID_ROPE = 4,
  PHYS_FOREIGN_ID_SOUND_OBSTRUCTION = 5,
  PHYS_FOREIGN_ID_SOUND_PROXY_OBSTRUCTION = 6,
  PHYS_FOREIGN_ID_SOUND_REVERB_OBSTRUCTION = 7,
  PHYS_FOREIGN_ID_WATERVOLUME = 8,
  PHYS_FOREIGN_ID_BREAKABLE_GLASS = 9,
  PHYS_FOREIGN_ID_BREAKABLE_GLASS_FRAGMENT = 10,
  PHYS_FOREIGN_ID_RIGID_PARTICLE = 11,
  PHYS_FOREIGN_ID_RESERVED1 = 12,
  PHYS_FOREIGN_ID_USER = 100
};
File

IPhysics.h

Members
Members
Description
PHYS_FOREIGN_ID_USER = 100
All user defined foreign ids should start from this enum.
Description

IDs that can be used for foreign id.

pe_collision_class Enumeration
C++
enum pe_collision_class {
  collision_class_terrain = 1<<0,
  collision_class_wheeled = 1<<1,
  collision_class_living = 1<<2,
  collision_class_articulated = 1<<3,
  collision_class_soft = 1<<4,
  collision_class_rope = 1<<5,
  collision_class_particle = 1<<6,
  collision_class_game = 1<<10
};
File

physinterface.h

Members
Members
Description
collision_class_terrain = 1<<0
reserved basic collision classes
collision_class_game = 1<<10
begin game specific ones from this enum
Description

physics entity collision filtering class enums

pe_type Enumeration
C++
enum pe_type {
  PE_NONE = 0,
  PE_STATIC = 1,
  PE_RIGID = 2,
  PE_WHEELEDVEHICLE = 3,
  PE_LIVING = 4,
  PE_PARTICLE = 5,
  PE_ARTICULATED = 6,
  PE_ROPE = 7,
  PE_SOFT = 8,
  PE_AREA = 9
};
File

physinterface.h

Description

Please update CStatoscope::AddPhysEntity when changing this enum

sim_class Enumeration
C++
enum sim_class {
  SC_STATIC = 0,
  SC_SLEEPING_RIGID = 1,
  SC_ACTIVE_RIGID = 2,
  SC_LIVING = 3,
  SC_INDEPENDENT = 4,
  SC_TRIGGER = 6,
  SC_DELETED = 7
};
File

physinterface.h