Hello there,
on trying to create some custom controller meshes (with custom sockets/materials) for our virtual reality project, I encountered a weird behavior when trying to select the correct mesh based on the currently used XR Device/interaction profile. Engine Version is 5.1.1.
First I am getting the current interaction profile path which is a String and save that in a variable for further use.
Based on the Hand I (try to) append βlβ/βrβ to the interaction profile string (where I got rid of the unnecessary long path) and use that string to select the correct mesh out of a String/Static Mesh map.
What happens: The find for the map value always returns false even if I copy paste the output path from the console directly as map key. Also, the append after the path doesnβt work!
I initially appended the βlβ/βrβ strings to the end of the interaction profile path which just didnβt work. It seems there is something odd about the returned string from interaction profiles?
Further tests showed that not even a direct append to a debug print from the returned interaction profile works.
Anyone seen some similar behaviour and/or successfully implemented interaction profiles?
Hope someone is able to help with this one!
Greetings,
Markus
Bagpack Games