DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
CylinderTrigger.c
См. документацию.
1
3{
4 override void EOnInit(IEntity other, int extra)
5 {
7 }
8
9#ifdef DEVELOPER
10 override protected Shape DrawDebugShape(vector pos, vector min, vector max, float radius, int color)
11 {
12 float height = max[1];
13
14 Shape dbgShape = Debug.DrawCylinder(Vector(0, height * 0.5, 0), radius, height, color, ShapeFlags.TRANSP|ShapeFlags.NOZWRITE|ShapeFlags.DOUBLESIDE);
15
16 vector mat[4];
17 GetTransform( mat );
18 dbgShape.CreateMatrix( mat );
19 dbgShape.SetMatrix( mat );
20
21 dbgTargets.Insert( dbgShape );
22 return dbgShape;
23 }
24#endif
25};
void DrawDebugShape()
Определения BleedingSource.c:171
proto native void SetCollisionCylinder(float radius, float height)
Sets collision cylinder for object.
override void EOnInit(IEntity other, int extra)
Определения CylinderTrigger.c:4
Trigger with cylinder shape.
Определения CylinderTrigger.c:3
static Shape DrawCylinder(vector pos, float radius, float height=1, int color=0x1fff7f7f, ShapeFlags flags=ShapeFlags.TRANSP|ShapeFlags.NOOUTLINE)
Определения Debug.c:335
Определения Debug.c:2
Определения EnEntity.c:165
void Trigger()
ctor
Определения Trigger.c:53
Определения EnConvert.c:106
ShapeFlags
Определения EnDebug.c:126
class DiagMenu Shape
don't call destructor directly. Use Destroy() instead
proto native vector Vector(float x, float y, float z)
Vector constructor from components.