Index  

trap_EntityContact

Description

Checks if 2 entities touch (collision detection).

Prototype

    qboolean trap_EntityContact(
        const vec3_t mins,
        const vec3_t maxs,
        const gentity_t *ent
    );

Parameters

mins : Lower bounds.
maxs : Upper bounds.
ent : The entity to test.

Remarks

Perform an exact check against inline brush models of non-square shape.

Return value

Return qtrue if the entity pointed to by ent is physically within the bounds specified by mins and maxs, qfalse otherwise.

See also

Author(s)

Timbo


QuakeIII trap calls reference