Go to the source code of this file.
◆ TriggerShape
◆ SetClippingInfo()
Sets collision properties for object.
- Parameters
-
| mins | vector Min values of box |
| maxs | vector Max values of box |
| radius | float Radius of bounding sphere |
- Note
- This function is obsolete, use rather SetCollisionBox()
◆ SetCollisionBox()
| proto native void SetCollisionBox |
( |
vector | mins, |
|
|
vector | maxs ) |
Sets collision box for object.
- Parameters
-
| mins | vector Min values of box |
| maxs | vector Max values of box |
- Note
- Automatically sets TriggerShape.BOX
usage :
proto native void SetCollisionBox(vector mins, vector maxs)
Sets collision box for object.
◆ SetCollisionCylinder()
| proto native void SetCollisionCylinder |
( |
float | radius, |
|
|
float | height ) |
Sets collision cylinder for object, representing cylinder from origin(center) up to defined positive height.
- Parameters
-
| radius | float Radius of cylinder |
| height | float Height of cylinder |
- Note
- Automatically sets TriggerShape.CYLINDER
usage :
proto native void SetCollisionCylinder(float radius, float height)
Sets collision cylinder for object, representing cylinder from origin(center) up to defined positive ...
◆ SetCollisionSphere()
| proto native void SetCollisionSphere |
( |
float | radius | ) |
|
Sets collision sphere for object.
- Parameters
-
| radius | float Radius of cylinder |
- Note
- Automatically sets TriggerShape.SPHERE
usage :
proto native void SetCollisionSphere(float radius)
Sets collision sphere for object.
◆ BOX
◆ CYLINDER
◆ SPHERE