Some of the time I spent working on the Fall Term Alpha Presentation for the CCI side.
I attempted to create a menu system for our game. I researched what is out there right now, and I found a plugin for combining Unreal Engine's UMG with the Vive, but it was evidently discontinued as of 4.12, and we are working on Unreal Engine 4.13. The reason it was discontinued is because 4.13 introduced new features with interactive 3d widgets. I spent a lot of time trying to understand and use this ("highly experimental") feature, and I've found that it is very glitchy when used with both the left and right controllers. Perhaps there is a solution I have yet to find, but it also may simply be the fact that these widgets are experimental in nature, as indicated by Unreal Engine.
I also spent a lot of time trying to get a spring-like force on the ball when it enters a goal. I got a basic system working to a limited extent, but it's extremely buggy. One of the main issues is that if the ball is moving too quickly, it will "jump" past the trigger (that turns on the spring-like forces when the ball enters the goal) from one frame to the next, having never actually intersected with the trigger volume.
I made sure that Continuous Collision Detection (CCD) was turned on for the ball (and even the collision volume), but that didn't seem to fix it. For alpha, we may end up just having the ball stop when it enters the goal, teleport to the center, then shoot out.
I figured out how to fix some of the collision issues we were having, when the arena's collision was being treated as if it were a filled capsule instead of a shell, even though the normals for the model were inverted. It turns out there was a pretty easy fix in Unreal Engine to get it to work, by enabling complex collision checking instead of simple. We may have issues with performance due to this, but we'll worry about that when we get there.
I was also able to get Unreal Engine to output the Vive mirror display in a 16:9 ratio by following a tutorial posted to YouTube (actually posted a day or two after the request was made for us to have this, so we got pretty lucky). I had to pull the source of Unreal Engine and modify it to do so. Therefore, the fix is limited to whichever computers we've done that on. Doing this is also necessary to package the exe to output in 16:9.
Time spent: Total: ~21 hours
6 hours - Menu (attempt)
4 hours - 16:9 video output
6 hours - Goal force (attempt)
4 hours - CCI Presentation
1 hour - Package to exe
- We can record footage of gameplay in 16:9 ratio now
- We can package the project as an exe (that works with the Vive) now
- I learned a lot about issues with high-speed collisions
- High speed collisions have many issues that need to be taken into consideration
- 3D menus in VR with UMG are still mostly experimental and buggy
- I discovered I may want to control the ball's linear damping from multiple different contexts, leading to issues of one taking precedence over another randomly.