Skip to content

AGymConnectorManager

Actor-based container for gym connectors in the Unreal Engine world.

Provides a simple way to add a gym connector to your level.

This actor manages the lifecycle of a gym connector, handling initialization and per-frame updates. Place this actor in your level to manage training connections. It will automatically collect environments from the connector and step the connector every frame. To handle more complex training scenarios, you can implement your own AActor to manage the gym connector lifecycle.

class AGymConnectorManager : public AActor

Methods

Public

AGymConnectorManager

AGymConnectorManager()

Default constructor for the gym connector manager.


Tick

virtual void Tick(float DeltaTime) override

Called every frame to update the connector state.

Parameters

  • DeltaTime (float)

Protected

BeginPlay

virtual void BeginPlay() override

Called when the game starts or when the actor is spawned.

Attributes

Connector

UAbstractGymConnector *Connector = nullptr

The gym connector instance managed by this actor.

Source: Source/ScholaTraining/Public/TrainingUtils/GymConnectorManager.h