Is there a way to get a MediaPlayer from a texture of an Actor?
I don't care whether this is done in C++ or Blueprints, but I have an Actor playing a video that I have selected using a Raycast line https://docs.unrealengine.com/en-us/Engine/Physics/Tracing/HowTo/SingleLineTraceByObject I want to find the MediaPlayer associated with that plane. 1. can I have an event "On Ray Hit" or "on collision" on the plane that sets a gameInstance variable to the MediaPlayer - manually set the media player associated with the plane? 2. Is there a way to traverse the Actor object until I get to the MediaPlayer being used? perhaps through the Media texture?
asked Aug 30 '18 at 06:24 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here