Hello all, I have been doing a lot of reading online and have not come across a solution for this. Basically I have set up a player controller, game mode and a custom character however the custom character script is stuck with the capsule collision. I have read that it cannot change as it is the root component of the character class so is there a way to delete or create a new root?
If not is there a way to turn a pawn BP into a character BP, as that would allow custom collision for the player character rather than the capsule. Currently I have a pawn which is acting as my character however the inputs don’t react to it, if I could change what class it’s parent is that would solve it.
Character only supports capsules for collision at this time.
What problem are you trying to solve? It sounds like you are having issues with the input. Is this because you are using AddMovementInput() on your Pawn, but it’s not doing anything? If so, I’ll refer you to this thread:
Basic Pawns don’t actually respond to AddMovementInput unfortunately (I hope to improve this in the future). You are free to hook up your own input handling (AddMovementInput basically just adds vectors, uses the result for movement in tick, and then clears it for the next frame).
Is this work in progress?
When i make a BP Class like a Pong Player its far away from a capsule component for collisions. Its basically a box. Unfortunately when i add the box and enable the collision to block all. It just falls thgouh everything…
could something like that be achieved on any other way?
I am making a game where you play a dragon and I have been using Pawn class. I have no trouble setting up movement using add force and things but I cant get my collisions working correctly.
The problem I’m having is that none of the default collision shapes are much use for a dragon as it is long and thin and suddenly becomes wider when it opens up its wings. I tried using a physics asset on the skeletal mesh and setting the skeletal mesh to be the root but the physics asset meant that it fell even when gravity was turned off and didn’t seam to be affected by the set rotation node.
I also tried adding multiple collision shapes in the blueprint but this resorted in the pawn shooting around insanely which seemed to be coursed by the collisions overlapping so that was no use either.
Any ideas how I could set up the collisions for this? is there a way I can get it to work using the skeletal mesh as root and the physics asset for collision without it going wired.
Another thing I should mention is that I am using add force to move it so I cant set the bones to Kinematic without stopping it from moving at all I think.