Table of Contents

Class CollisionManager

Namespace
VoxelPlayground.Destruction
Assembly
GamePlay.dll
public class CollisionManager : Singleton<CollisionManager>
Inheritance
object
CollisionManager
Inherited Members
Extension Methods

Fields

attackVoxelDestructionCd

public static float attackVoxelDestructionCd

Field Value

float

BudgetMillisecondsPerFrame

[InfoBox("Single frame budget time for collision generation, in milliseconds", InfoMessageType.Info, null)]
public float BudgetMillisecondsPerFrame

Field Value

float

collisionInfoPool

public ObjectPool<VoxelCollisionInfo> collisionInfoPool

Field Value

ObjectPool<VoxelCollisionInfo>

collisionSoundVolume

public float collisionSoundVolume

Field Value

float

explosiveAgent

public Explosive explosiveAgent

Field Value

Explosive

lastAttackCdCharacter

public static EntityCharacter lastAttackCdCharacter

Field Value

EntityCharacter

pauseOnhit

public bool pauseOnhit

Field Value

bool

Methods

IsCollisionStaying(VoxelDestructor)

public bool IsCollisionStaying(VoxelDestructor col)

Parameters

col VoxelDestructor

Returns

bool

RegisterCollision(VoxelCollisionInfo)

public void RegisterCollision(VoxelCollisionInfo collisionInfo)

Parameters

collisionInfo VoxelCollisionInfo

RegisterVoxelCollider(VoxelDestructor)

public static void RegisterVoxelCollider(VoxelDestructor vc)

Parameters

vc VoxelDestructor

SetMaxProcessingTimePerFrame(float)

public void SetMaxProcessingTimePerFrame(float milliseconds)

Parameters

milliseconds float

UnRegisterVoxelCollider(VoxelDestructor)

public static void UnRegisterVoxelCollider(VoxelDestructor vc)

Parameters

vc VoxelDestructor