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"

Scale Character without Collision Capsule becoming uselessly large?

Specifically I am trying to make a game where characters can grow to several times their initial size. And have other characters able to pass through their legs etc.

However the only solution I can think of to ensure collisions still works at larger scales is to scale up the capsule. Which means there is a vast capsule blocking anything that would pass between the characters legs.

Other than creating a custom pawn class, is there any workaround to this? if not then character class is utterly useless to me. For several other reasons as well. :(

But it seems ridiculous to think that Character classes would be so obscenely limited. So I pray I am missing something. Thanks.

Product Version: UE 4.11
Tags:
more ▼

asked Feb 13 '17 at 05:28 PM in Blueprint Scripting

avatar image

Garden1988
3 2 3

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

1 answer: sort voted first

You can always create custom collision channel and when your character is enlarged, you can set the capsule (root) collision to ignore or overlap with other actores. To still be able to block other characters, when they come directly to legs or torso, you will need to add few other collision capsules and attach them to appropriate bones. This way when your character is large, other actors will be able to walk between legs, but not through them.

more ▼

answered Feb 16 '17 at 01:28 AM

avatar image

andrzejBG
90 6 8 14

avatar image Garden1988 Feb 16 '17 at 03:17 AM

I've just been playing around with that very idea. But I can't get any other collision capsules to trigger consistently when another character hits it. Around 10% of the time the capsule will block the other character and the rest of the time it acts as though it isn't there at all. :(

From what I've read this is due to the way the CharacterPawn handles collision while moving. It seems to ignore its other collision volumes during its sweep from a to b.

Though why it still seems to work 10% of the time I have no idea. I still have hope this will work with CharacterPawn but I'm pretty lost :P

avatar image Garden1988 Feb 16 '17 at 03:28 AM

I got it! :D Forget that last comment! I just had to mess around with the collision settings a little more :3

It's still a little iffy, but its vastly better now! Thanks.

(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