- Namespace
- EasyBuildSystem
.Features .Scripts .Core .Base .Piece .Condition - Base Types
-
- MonoBehaviour
- ConditionBehaviour
graph BT
Type-->Base0["ConditionBehaviour"]
click Base0 "/docs/client_api_10.4.0/api/EasyBuildSystem.Features.Scripts.Core.Base.Condition/ConditionBehaviour"
Base0-->Base1["MonoBehaviour"]
Type["InternalPhysicsCondition"]
class Type type-node
Syntax
[Condition("Internal Physics Condition", "Check and denies the actions, if this piece is not stable.\n" + "A new rigidbody component is added when the support is destroyed during the runtime.\n" + "Convex feature is included for the MeshColliders to avoid the physics errors messages.\n" + "You can find more information about of conditions in the online documentation.", ConditionTarget.PieceBehaviour)]
public class InternalPhysicsCondition : ConditionBehaviour
Attributes
| Type | Description |
|---|---|
| ConditionAttribute |
Fields
| Name | Constant Value | Summary |
|---|---|---|
| Check |
||
| Check |
||
| ConvexMeshColliders | ||
| Detections | ||
| RequireStableSupport |
Properties
| Name | Value | Summary |
|---|---|---|
| AffectedByPhysics | bool | |
| Piece | PieceBehaviour |
Inherited from ConditionBehaviour
|
Methods
| Name | Value | Summary |
|---|---|---|
| ApplyPhysics |
void | |
| CheckForDestruction |
bool |
Inherited from ConditionBehaviour
|
| CheckForEdition |
bool |
Inherited from ConditionBehaviour
|
| CheckForPlacement |
bool | |
| CheckStability |
bool | |
| CheckStability |
bool |