Enfusion Script API
|
Disables collisions between two entities. More...
Public Member Functions | |
proto external void | Remove (notnull IEntity worldEntity) |
Enables collisions between two entities by removing PhysicsBlock. | |
Public Member Functions inherited from pointer | |
proto string | ToString () |
Static Public Member Functions | |
static proto PhysicsBlock | Create (notnull IEntity ent1, notnull IEntity ent2) |
Disables collisions between two entities by creating PhysicsBlock. | |
Disables collisions between two entities.
|
static |
Disables collisions between two entities by creating PhysicsBlock.
Both entities must exist in the same world. Block must be removed manually on cleanup.
ent1 | Entity of the non-colliding pair |
ent2 | Other entity of the non-colliding pair |
proto external void PhysicsBlock.Remove | ( | notnull IEntity | worldEntity | ) |
Enables collisions between two entities by removing PhysicsBlock.
worldEntity | Entity used to obtain world in which entities exist |