This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
nekohook/modules/source2013/sdk/game/server/physics_npc_solver.h
2020-08-04 13:13:01 -04:00

24 lines
954 B
C

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef PHYSICS_NPC_SOLVER_H
#define PHYSICS_NPC_SOLVER_H
#ifdef _WIN32
#pragma once
#endif
extern CBaseEntity *NPCPhysics_CreateSolver(CAI_BaseNPC *pNPC,
CBaseEntity *pPhysicsObject,
bool disableCollisions,
float separationDuration);
extern CBaseEntity *EntityPhysics_CreateSolver(CBaseEntity *pMovingEntity,
CBaseEntity *pPhysicsBlocker,
bool disableCollisions,
float separationDuration);
bool NPCPhysics_SolverExists(CAI_BaseNPC *pNPC, CBaseEntity *pPhysicsObject);
#endif // PHYSICS_NPC_SOLVER_H