88 ErrorEx(
"Radius has to be > 0");
92 if (negativeHeight > positiveHeight)
94 ErrorEx(
"Negative height cannot be higher than positive height");
proto native void SetClippingInfo(vector mins, vector maxs, float radius)
Sets collision properties for object.
proto native void SetCollisionSphere(float radius)
Sets collision sphere for object.
void SetCollisionCylinderTwoWay(float radius, float negativeHeight, float positiveHeight)
Input value validated version of SetCollisionCylinderTwoWay.
proto native void SetCollisionCylinder(float radius, float height)
Sets collision cylinder for object, representing cylinder from origin(center) up to defined positive ...
proto native void SetCollisionBox(vector mins, vector maxs)
Sets collision box for object.
proto native void SetTriggerShape(TriggerShape shape)
Set the TriggerShape to be used, default is TriggerShape.BOX.
proto native TriggerShape GetTriggerShape()
Get the current TriggerShape.
override bool IsInventoryVisible()
proto native void SetCollisionCylinderTwoWayNative(float radius, float negativeHeight, float positiveHeight)
Sets collision cylinder for object, representing cylinder from origin(center), height can be defined ...