x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to get Pawn to Collide

I have been working on a project and am still in the mechanics phases. Instead of the Character Blueprint as the Player Character I have gone the route of using a Pawn instead. I am under the impression that the Character Blueprints are only capable of collision with the one capsule that inherits. With the pawn, I am loving everything, even the animations have been running smoother. My problem, though, is that I can't seem to get the collision working on the Pawn. I have a Model Pack called the Crash Test Dummies Pack from the UE4 Marketplace and they come with great physics assets, skeletal meshes, and all else. It collides fine with physics objects, even a copy of its own physics asset. I have not included any images in this post as it is only a general question: How do you implement collision on a Pawn Blueprint? I have a PlayerController that I have setup custom in case the collision needs this. I have searched for everything I can think of and no one seems to have answers.

https://answers.unrealengine.com/questions/334739/how-to-keep-pawn-from-passing-through-objects.html - This is using a different method than I am, I use AddMovementInput for the movement with the Floating Pawn Component. Is this correct?

https://answers.unrealengine.com/questions/514661/how-do-i-stop-moving-through-walls.html [Unsolved] - This is semi similar to my issue, but I am not working in VR at all.

I have tried Capsule, Box, and all other collision components, and I am unaware of how to get the physics asset to act as the collision.

I am using the Blueprint Scripting for a Third Person Shooter. Thanks in advance for any help!

UPDATE

I managed to get something to collide. Not sure what. Pictures to follow. I also discovered the most random of bugs. The "Prt Scn/SysRq" button on the keyboard causes an awkward flinch even though that isn't even in my Input Setting at all?

In the Pawn Blueprint, I have the mesh as the root and I would like that to be the collision as well, but when I play and show collision, there are so many random collisions being made that aren't supposed to be there. See the following.

Collision Tree

Collision Showing

Product Version: UE 4.15
Tags:
more ▼

asked Apr 10 '17 at 05:08 AM in Using UE4

avatar image

BubbaBonkers
128 4 6 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Figured I would answer my own question for those looking for the same thing. I stuck with the single capsule as you have to create your own version of the CharacterMovementComponent that handles its own collision and certain physics. All settings inside of the CMC is something that you would have to recreate and make into your own equation to use more than one collision component. At least to the extent of my knowledge.

more ▼

answered Apr 04 '18 at 12:39 AM

avatar image

BubbaBonkers
128 4 6 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question