So, I’ve completed horseback riding system in VR, aside from 2 issues;
1: The vehicle doesn’t move after I’ve packaged the game (not what this post is about)
2: Depending on the speed I am travelling, when I rotate the actor left or right to turn, the actor all of a sudden will permanently rotate left and right as if its shaking. (More details below)
Attached is a picture of the current “Turn” Event I have built inside of the Horse Character Actor Blueprint. It works beautifully. For some reason however, when I turn the vehicle while I’m riding it, the vehicle will start to apply its own rotate left and right each tick. It will rotate anywhere between 1 degree and 10 degrees depending on how fast I was going when I turned. This is obviously very disorienting to the player.
I have checked, and there is no other aspect of my blueprint that even deals with rotation. My only assumption is that the horse somehow is trying to set 2 rotation values with itself, and the rotation ticks back and forth registering its 2nd most recent rotation value, and when the next frame rolls around its reading a different rotation value, and back and forth it goes.
In the screenshot you will see, I’ve tried using the character movement’s “Get Last Update Rotation”, I’ve tried adding actor rotation via local, and world, and I have tried setting the actors rotation. every way I’ve tried, its always ended up the same, shimmering left and right…
I’ve tried Rinterp, and that also did not work. I know its not a conflict between the character and the horse because I can dismount the horse, and the horse will still be rotating left and right. (Video attached)
The reason I dont just “Possess” the horse is because I no longer have my body or my hands when I do, it’s not much of a VR game if I can’t us my hands or body. so, I have to resort to calling custom events to make actions happen, such as move forward, slow down, jump, and turn. Each action works well aside from my “Turn” event.
I just can’t for the life of me figure out for the life of me why it would do this and google was absolutely no help. Thanks in advance for looking into it!
In this video, the first time I stop, you’ll notice no shaking… then I move slowly and turn slightly to the right and stop again, and you will see slight vibrating this time… finally I start trotting and turn to the left and when I stop you can see how hard its shaking. I got off of the horse to let you see that it still has trouble finding its rotation value even when it’s not turning or being controlled. 1 more thing, when I’m galloping and turning at the same time, the horse shakes so much that it shakes left and right up to 15 degrees sometimes.
also, sorry about the poor frame rate, unfortunately I can’t show you in the packaged game because the horse doesn’t move at all in the packaged version.