Sets collision cylinder for object, representing cylinder from origin(center), height can be defined in both directions.
- Аргументы
-
radius | float Radius of cylinder |
negativeHeigh | float Negative height of cylinder |
positiveHeight | float Positive height of cylinder |
- Заметки
- Automatically sets TriggerShape.CYLINDER
usage :
void SetCollisionCylinderTwoWay(float radius, float negativeHeight, float positiveHeight)
Input value validated version of SetCollisionCylinderTwoWay.
Используется в SetCollisionCylinderTwoWay().