21 proto native
void SetClippingInfo(
vector mins,
vector maxs,
float radius);
35 proto native
void SetCollisionBox(
vector mins,
vector maxs);
46 proto native
void SetCollisionSphere(
float radius);
58 proto native
void SetCollisionCylinder(
float radius,
float height);
71 private proto native
void SetCollisionCylinderTwoWayNative(
float radius,
float negativeHeight,
float positiveHeight);
84 void SetCollisionCylinderTwoWay(
float radius,
float negativeHeight,
float positiveHeight)
88 ErrorEx(
"Radius has to be > 0");
92 if (negativeHeight > positiveHeight)
94 ErrorEx(
"Negative height cannot be higher than positive height");
98 SetCollisionCylinderTwoWayNative(radius, negativeHeight, positiveHeight);