Custom Pawn Collision not working.
I hope someone can help me out. I've started setting up a small game prototype, namely a Pong game. However I've run into a pretty weird issue. I've tried setting up the player's cuboid or collumn or however you want to call it. In that way the root of the scene is a capsule, which is obviously wrong for this kind of player character. Of course, this cannot be modified or deleted, because it's inherited from the basic character C++ class.
So what I did is I've set up a new pawn blueprint, modified the controls and movement to work properly. However, when I try to set up the collision, no matter what I try it just won't work. I've tried having a mesh as the scene root, with proper collisions set up, I've tried adding a box collision as the child of this mesh, still not working. I've tried setting up a box collision for scene root, and then the mesh for the child of this component, still not working. I've tried setting up the different collisions, for the components the same way as they are set up in a basic player character blueprint, but nothing seems to work. If I turn on simulate physics, it will do collide with objects, but that way the floating is gone, and the whole movement is ruined.
Anyone has an idea how to fix this, or any kind of workaround? What I've been thinking about is using the scale of the capsule in a basic character blueprint to somewhat include the mesh I want, but obviously that's not perfect, and will give me tons of problems later. Please help out if you can, screenshots are appreciated of a proper set up.
asked Jul 20 '16 at 07:53 PM in Blueprint Scripting
Finally, I found a reason why my custom pawn didn't collide! I simply didn't check Sweep checkbox of AddActorWorldOffset node in movement logic graph :)
answered Aug 26 '16 at 02:18 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here