◆ Create() [1/2]
Disables collisions between two entities by creating PhysicsBlock. Both entities must exist in the same world. Block must be removed manually on cleanup.
- Parameters
-
| ent1 | Entity of the non-colliding pair |
| ent2 | Other entity of the non-colliding pair |
- Returns
- PhysicsBlock disabling collision while it exists
◆ Create() [2/2]
Disables collisions between two entities by creating PhysicsBlock. Both entities must exist in the same world. Block must be removed manually on cleanup.
- Parameters
-
| ent1 | Entity of the non-colliding pair |
| ent2 | Other entity of the non-colliding pair |
- Returns
- PhysicsBlock disabling collision while it exists
◆ Remove() [1/2]
| proto external void Remove |
( |
notnull IEntity |
worldEntity | ) |
|
|
private |
Enables collisions between two entities by removing PhysicsBlock.
- Parameters
-
| worldEntity | Entity used to obtain world in which entities exist |
◆ Remove() [2/2]
| proto external void Remove |
( |
notnull IEntity |
worldEntity | ) |
|
|
private |
Enables collisions between two entities by removing PhysicsBlock.
- Parameters
-
| worldEntity | Entity used to obtain world in which entities exist |
The documentation for this class was generated from the following file: