下面是引用 alvin321 于 2013-06-25 20:40 发表的 :
喔,那么如果把solid设定为1则为影像??
不过还是要谢谢大大
不是...solid是型态...你应该要参考fakemeta.inc 内的 solid写法..
另外补充:这是 采用fakemeta贯连hlsdk_const的inc内容物// pev(entity, pev_solid) values
// NOTE: Some movetypes will cause collisions independent of SOLID_NOT/SOLID_TRIGGER when the entity moves
// SOLID only effects OTHER entities colliding with this one when they move - UGH!
#define SOLID_NOT 0 // No interaction with other objects
#define SOLID_TRIGGER 1 // Touch on edge, but not blocking
#define SOLID_BBOX 2 // Touch on edge, block
#define SOLID_SLIDEBOX 3 // Touch on edge, but not an onground
#define SOLID_BSP 4 // BSP clip, touch on edge, block
这是solid型态类别