Navigation
API > API/Plugins > API/Plugins/WaterAdvanced > API/Plugins/WaterAdvanced/UShallowWaterSubsystem
References
| Module | WaterAdvanced |
| Header | /Engine/Plugins/Experimental/WaterAdvanced/Source/WaterAdvanced/Public/ShallowWaterSubsystem.h |
| Include | #include "ShallowWaterSubsystem.h" |
| Source | /Engine/Plugins/Experimental/WaterAdvanced/Source/WaterAdvanced/Private/ShallowWaterSubsystem.cpp |
APawn * GetTheMostRelevantPlayerPawn() const
Remarks
Think of this as a cursor that in most time locks on the current player pawn If the player doesn't have a physical pawn (e.g. spectating), the cursor jump around and lock on the nearest pawn to the camera If there is no relevant pawn (all eliminate), returns nullptr