Passer au contenu
Média 1 pour l'article Object (Actor) Pool Manager

Description

Instantiating and destroying objects in your scene can drastically reduce performance. Therefore, with this plugin you can create and manage object pools, i.e. collections of reusable objects that you can enable and disable when needed, instead of instantiating and destroying objects.

Document | Youtube

The plugin provides a complete weapon firing bullet case, creating bullets through an object pool. (C++)

The plugin implements the object pool creation and recycling blueprint actor case. (Blueprint)

Simply call the GetObjectFromPool or GetActorFromPool method and you are guaranteed to get an instance of the correct object or actor type.Calling RecycleObjectToPool or RecycleActorToPool will deactive the object or actor and add it to the appropriate pool.

When using an object pool, the BeiginPlay method of an Actor object is not called repeatedly. Actor implements the IPoolInterface interface and provides PoolSpawn and PoolRecycle methods. This interface is compatible with C++ and Blueprint implementations

The plugin is very lighweight and extremely performant. It is ideal for games which Instantiate/Destroy lots of objects repeatedly.

Formats inclus