| ... | @@ -57,16 +57,16 @@ The main toolkit module [`RWTHVRToolkit`](https://git-ce.rwth-aachen.de/vr-vis/V |
... | @@ -57,16 +57,16 @@ The main toolkit module [`RWTHVRToolkit`](https://git-ce.rwth-aachen.de/vr-vis/V |
|
|
|
|
|
|
|
The gameplay framework currently consists of the following extensions:
|
|
The gameplay framework currently consists of the following extensions:
|
|
|
|
|
|
|
|
1. `RWTHVRGameMode`
|
|
1. `BP_RWTHVRGameModeBase `
|
|
|
2. `RWTHVRPlayerState`
|
|
2. `RWTHVRPlayerState`
|
|
|
3. `BP_VirtualRealityPawn`
|
|
3. `BP_VirtualRealityPawn`
|
|
|
|
|
|
|
|
**1. `RWTHVRGameMode`**
|
|
**1. `BP_RWTHVRGameModeBase `**
|
|
|
|
|
|
|
|
The `RWTHVRGameMode` blueprint is based on the `RWTHVRGameModeBase` C++ class, which in turn inherits from [`AGameModeBase`](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Engine/GameFramework/AGameModeBase/).
|
|
The `BP_RWTHVRGameModeBase ` blueprint is based on the `RWTHVRGameModeBase` C++ class, which in turn inherits from [`AGameModeBase`](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Engine/GameFramework/AGameModeBase/).
|
|
|
|
|
|
|
|
It controls the flow of the application and handles new players and the corresponding default classes. **It is important to notice that it only exists on the server, not on any clients!**
|
|
It controls the flow of the application and handles new players and the corresponding default classes. **It is important to notice that it only exists on the server, not on any clients!**
|
|
|
The `RWTHVRGameMode` blueprint sets the following defaults:
|
|
The `BP_RWTHVRGameModeBase ` blueprint sets the following defaults:
|
|
|
|
|
|
|
|
- Default Pawn: `BP_VirtualRealityPawn`
|
|
- Default Pawn: `BP_VirtualRealityPawn`
|
|
|
- Default Player State: `RWTHVRPlayerState`
|
|
- Default Player State: `RWTHVRPlayerState`
|
| ... | |
... | |
| ... | | ... | |