Go to the source code of this file.
◆ TriggerShape
◆ GetTriggerShape()
Get the current TriggerShape.
◆ IsInventoryVisible()
override bool IsInventoryVisible |
( |
| ) |
|
◆ 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 :
◆ SetCollisionCylinder()
proto native void SetCollisionCylinder |
( |
float |
radius, |
|
|
float |
height |
|
) |
| |
Sets collision cylinder for object.
- Parameters
-
radius | float Radius of cylinder |
height | float Height of cylinder |
- Note
- Automatically sets TriggerShape.CYLINDER
usage :
◆ SetCollisionSphere()
proto native void SetCollisionSphere |
( |
float |
radius | ) |
|
Sets collision sphere for object.
- Parameters
-
radius | float Radius of cylinder |
- Note
- Automatically sets TriggerShape.SPHERE
usage :
◆ SetTriggerShape()
Set the TriggerShape to be used, default is TriggerShape.BOX.
◆ BOX
◆ CYLINDER
◆ SPHERE