So my goal is to Press E on a given actor and have it zoom in, raised to eye level, and be rotated. Upon pressing E again the item would go back to where it came from. When inspecting, text would also appear on the UI describing the item. You can find similar actions across numerous horror games, as an example.
Here’s what isn’t working:
-
The object is not moving when i press E on it. It’s keeping the player from moving around (as intended), the text is popping up, but the object remains stationary and will not rotate. It did rotate at first (still, without moving), but the ‘IsValid’ I had to place before the SetActorRotLoc to remove my errors seems to have also stopped the rotation.
-
The text gets stuck on the screen. Even after “releasing” the object and moving freely, the text remains. I imagine this has something to do with the ‘Remove Parent’ im using, as that was also giving me errors. I placed an ‘IsValid’ there for the same reasons as above but it didn’t make it work any better mechanically.
If it matters at all, this is the tutorial I followed, and I went over it twice to make sure I was doing things correctly:
The first 3 pictures are whats handling the inspection of the object.
There are handling the text on the UI.
Any advice would be greatly appreciated.