BSP collisions not working in HTML5
I've been struggling with a weird problem.I'm developing a simple 3D environment in which you can walk around and ideally I would like to publish it in HTML on a website.
I made some tests and everything worked fine until my 1st person character kept falling through the ground, but in a weird way, as if the character would spawn inside the BSP (even if I'm sure it doesn't). So I started a new project, and after working out the geometry in BSP, the problem still happens, even if I replace the BSP with a static mesh. But it only happens in HTML launcher or package - not in the Windows executable. Although collisions work fine with static meshes not created from BSP.
My guess is that the BSP collision system (even if converted to static mesh) is in some way incompatible with the HTML packaging... But then I don't undestand why it worked temporarily in the 1st project... Is there some way to set the right collision without having to replace all my geometry with new meshes?
Thanks a lot for the help :)
asked May 15 '17 at 11:00 PM in Using UE4
Perhaps this might be something due to float vs double precision in asm.js, or unaligned vs aligned memory access in asm.js. New WebAssembly mode will will have single precision floats and unaligned memory accesses, so it would be good to test with WebAssembly once that becomes available - current Github master branch has it so I believe it will be in UE 4.16.
answered May 16 '17 at 08:46 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here