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"

Paper2DCharacter Flipbook Sprite not usable for Collision

Hello,i have make a new Player(Paddel) . Before i have use a Pawn with a PaperSprite.(All good before) Now i use the Paper2d.Character with Flipbook Animation.

I work on a 2d Breakout Clone.

My Problem is ,the Player(Paddel) dont block the Wall.(left and right).I use the same Collision as before with the Pawn.

My Player(Paddel) block the Ball but not the Walls? Why) In my Flipbook is the Collison active and i can see it.

For my Capsule Component i have set "No Collision". I want to use the FBSprite Collision.

Why it work for the Pawn with a Paper Sprite but not for a Paper2dActor with Flipbook Sprite?

Picture : alt text

Thx Rayk English is not my main Language, hope all understand me.

Product Version: UE 4.8
Tags:
more ▼

asked Jul 24 '15 at 12:38 PM in Bug Reports

avatar image

RaykHST
3 4 3 4

avatar image grandcoders.com Apr 02 '16 at 08:44 PM

hi, guys, so what would you recommend for 2D flip book collision, CapsuleComponent, TriggerBox or custom sockets? Came from Unity, there was only box trigger technique for 2D. Cheers.

avatar image AndrewHurley Apr 03 '16 at 04:34 PM

It all depends on what you are trying to test and the type of Paper2D project you are creating. Take a look at the Paper 2D documentation so you can get an idea of the direction you wish to take, and which approach would work best for you.

Cheers,

Andrew Hurley

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

2 answers: sort voted first

Hey RaykHST,

It is recommended that when setting up collision for Filpbooks to use collision shape components within your character's blueprint for performance reasons.

Flipbook Components in Blueprints

https://docs.unrealengine.com/latest/INT/Engine/Paper2D/Flipbooks/Components/Blueprints/index.html

Flipbook Editor Reference

https://docs.unrealengine.com/latest/INT/Engine/Paper2D/Flipbooks/Editor/index.html

alt text

alt text

Hopefully this resolves your issue, but let me know if you are still having trouble getting your collision to work.

Regards,

Andrew Hurley

more ▼

answered Jul 24 '15 at 04:10 PM

avatar image RaykHST Jul 24 '15 at 05:35 PM

Hello, yes with a Paper_Flipbook it works, Paper_Sprite too, but i want to setup the PAPER_CHARACTER_BP. There does it not working.

By all others, i can only add a FloatedMovementComponent. But i want use the CharacterMovementComponent.I have trouble with this Movement component and the Mouseinput.All time the mouse accleration(not sensity) is to high. How longer i move in 1 direction,the faster she is. :( Dont find the Settings for a good constant movement with this Floated Movement Component.

Next: By all others, i can use the Sprite Collision and edit they. Only in the Character Blueprint not. Why? In the CharacterBP is a Capsule Component for Colission. But they are not good for my Paddel. I m just wondered, i can set off the Capsule that they have no colission, and see in my flipbook my edited Colission, but i cant use it. It is not working.

Hope for Help

avatar image AndrewHurley Jul 28 '15 at 05:27 PM

Hey RaykHST,

If you are using the Paper Character as your base/parent class, then within your blueprint you can edit the 'CharactersMovement (Inherited)' component. Be sure the details tab is open when you click on the component to expose the variables you will want to edit, in order to find the desired movement for your character.

Notice how when you create a new empty Paper Character Blueprint class, the capsule component is inherited as its main collision. Use this capsule component when using collision for your character.

Cheers,

Andrew Hurley

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

Hello,

Have you activated collisions from the flipbook itself?

Go to your flipbook in the content browser and open it. From there look to the details panel for "collision source".

Enable it and it should work.

Cheers!

more ▼

answered Jul 24 '15 at 01:07 PM

avatar image

Roccinio
571 51 56 77

avatar image RaykHST Jul 24 '15 at 01:23 PM

Hello, on the Picture u can see my Flipbook and and it is set to First Frame Collision.

avatar image Roccinio Jul 24 '15 at 02:27 PM

It does not work because you have only first frame collision. Meaning that in a 15 frame animation like yours you have 1 out 15 chances that the collision will occur to that specific frame and register. Change it to all frames and see what happens

avatar image RaykHST Jul 24 '15 at 03:53 PM

When i change to Every Frame Colission , same Problem.

(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