DayZ Scripts
PC Stable Documentation
 
Loading...
Searching...
No Matches
PhysicsBlock Class Reference

Private Member Functions

proto external void Remove (notnull IEntity worldEntity)
 
proto external void Remove (notnull IEntity worldEntity)
 

Static Private Member Functions

static proto PhysicsBlock Create (notnull IEntity ent1, notnull IEntity ent2)
 
static proto PhysicsBlock Create (notnull IEntity ent1, notnull IEntity ent2)
 

Member Function Documentation

◆ Create() [1/2]

static proto PhysicsBlock Create ( notnull IEntity  ent1,
notnull IEntity  ent2 
)
staticprivate

Disables collisions between two entities by creating PhysicsBlock. Both entities must exist in the same world. Block must be removed manually on cleanup.

Parameters
ent1Entity of the non-colliding pair
ent2Other entity of the non-colliding pair
Returns
PhysicsBlock disabling collision while it exists

◆ Create() [2/2]

static proto PhysicsBlock Create ( notnull IEntity  ent1,
notnull IEntity  ent2 
)
staticprivate

Disables collisions between two entities by creating PhysicsBlock. Both entities must exist in the same world. Block must be removed manually on cleanup.

Parameters
ent1Entity of the non-colliding pair
ent2Other 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
worldEntityEntity 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
worldEntityEntity used to obtain world in which entities exist

The documentation for this class was generated from the following file: