Nuclide
Software Development Kit for id Tech
hitmesh.h File Reference

Go to the source code of this file.

Enumerations

enum  bodyType_t {
  BODY_DEFAULT , BODY_HEAD , BODY_CHEST , BODY_STOMACH ,
  BODY_ARMLEFT , BODY_ARMRIGHT , BODY_LEGLEFT , BODY_LEGRIGHT
}
 Hitmesh types that models can support. More...
 

Enumeration Type Documentation

◆ bodyType_t

enum bodyType_t

Hitmesh types that models can support.

You can figure those out on any model as long as you cast a traceline with the MOVE_HITMODEL flag. The result will be stored inside the global trace_surface_id.

Enumerator
BODY_DEFAULT 

No specific body part.

BODY_HEAD 

trace hit the head

BODY_CHEST 

trace hit the chest

BODY_STOMACH 

trace hit the stomach

BODY_ARMLEFT 

trace hit the left arm

BODY_ARMRIGHT 

trace hit the right arm

BODY_LEGLEFT 

trace hit the left leg

BODY_LEGRIGHT 

trace hit the right leg