I have been trying to create an interactive store environment for over a year now. I am trying to make the items on the shelves viewable and rotatable via mouse input, but keep falling short on the execution of it.
My final goal is to have products on a shelf. When these products are clicked, an interactive version of that model appears or fades in in front of the character and is spinnable and zoomable if possible. My previous similar post from awhile ago is dead now and didn’t really get anywhere, unfortunately.
The two methods that have gotten me closest are:
Doing a line trace on the object and moving it to the location in front of the player, stopping player movement, and changing mouse input to rotate the product - https://youtu.be/7geLwi3A6u8
Viewing the object on the HUD with a widget using a 2dSceneCapture Texture outside the level - https://youtu.be/UccUJLDPViw
I used this forum post as a guide, which helped immensely - https://forums.unrealengine.com/showthread.php?84416-Tutorial-Live-3D-Content-in-your-HUD-or-UI
Using the first method the model looks great when spinning it around.
Using the second method, the lighting can be adjusted for the model only, creating more of a light studio. Also, the model is on the HUD so it can’t go through any of the other objects in the level.
The problems I’m having with the first method is that the lighting on the product cannot be controlled. It is simply the lighting in that room which lights the product. Also, if close enough when “picking up” the product, it has a chance of clipping through the shelf it sits on because it’s in the same model space.
The problem with the 2dSceneCaptureTexture, first of all, is the quality of the model. If you notice in the video the aliasing is absolutely terrible and is affecting the quality and “wobbliness” of the texture on the model when it spins. Also, some models I tried have an opacity issue when rotating.
I tried to contact someone at Lilith Ltd. who worked on Allison Road because they have an amazing setup in their game, which is almost exactly what I would like to accomplish. This is what I’m talking about - https://youtu.be/__i_LoRKhJ0?t=1m30s
No one from Lilith Ltd. ever got back to me, but if anybody has any ideas on how this can be achieved or if there are any newer methods that I might not know about, please let me know! I appreciate any help I can get as this is a necessity for my project. Please let me know if I need to share any more info or take any screenshots. Thank you!