Character can't move when stood on certain meshes.
I have a mesh with a custom box collision that works as expected. The character can bump into and walk on it when I place it in the level manually. I don't do anything to the collision just let it be the stuff I set up in the mesh. All is fine.
However when I spawn a mesh component in an actor at run time and set the mesh to be this mesh I cannot move while stood on the mesh. The character can still bump into it but if they are stood on it the can't do anything but jump. So I kinda have to leap frog across these spawned in meshes.
I know there will be some setting I'm forgetting about for spawning a static mesh component but I can't figure it out.
Here's my spawn code:
I have tried placing the mesh scaled in level and It works as I need it to so its not a scale issue. I have toggled the collision visiblity so I can see that it is the same box as a placed mesh when I spawn it in. The mesh collision profile is left on BlockAllDynamic.
If you need any more info please ask.
asked May 15 '19 at 10:29 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here