Skip to content
Snippets Groups Projects

Feature/update to new VRPawn structure and adding an interaction ray that is also available in shipping builds

Merged Jan Delember requested to merge feature/update_to_new_VRPawn into develop
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -23,9 +23,9 @@ void FWidgetInteractionModule::ShutdownModule()
void FWidgetInteractionModule::OnWorldTickStart(ELevelTick level_tick, float val)
{
//called every Tick()
auto worlds = GEngine->GetWorldContexts();
//since OnWorldTickStart is called independent of the world/level we are in,
//we need to check whether the level changed and, if so, reattach the interaction component
auto worlds = GEngine->GetWorldContexts();
for (auto world_context : worlds) {
Loading