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 Make a 2d Particle System

I was wondering how to make a 2d particle system that collides with the sprites and bounces off them. kind of like this http://goo.gl/hY1Ydj (click on the gyfy link). Thanks in advance.

Product Version: Not Selected
Tags:
more ▼

asked Apr 05 '15 at 10:29 PM in Rendering

avatar image

BrentB
1 1 2 3

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

1 answer: sort voted first

Hi BrentB -

You can get there with some minor limitations when it comes to colliding with a Pawn, but Sprite Collision should work. I have attached to 4.7.4 assets below ( a Material and a Particle System) which you can add to a level for testing purposes. In general though it comes down to making sure all of your particle sprites exist in the Y plane at all times of their life. and then placing your emitter in the same Y plane as the Paper2D Sprites you want to collide with. (Obviously you want to set up Sprite Collision as well).

Hopefully that makes since and the test assets can give you a starting point to build off of -

Thank You

Eric Ketchum

link text

Also, you may need to re-add the M_TestParticle to the P_CollisionTest System when you load the assets into your project the first time.

testparticle.zip (25.2 kB)
more ▼

answered Apr 08 '15 at 02:55 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.7k 702 260 735

avatar image BrentB Apr 10 '15 at 08:15 PM

Eric I added it into the scene but it still wont collide with the sprites, I am using the default 2d template sprites.

avatar image Lovecraft_K ♦♦ STAFF Apr 10 '15 at 08:22 PM

Make sure that you have aligned the particle system in the same Y as your platforms and that your sprites for the platforms have BLOCK ALL set in the sprites collision.

Eric Ketchum

avatar image BrentB Apr 10 '15 at 08:28 PM

it mostly works now but the particles bounce unnaturally and straight back, also the particles stick to the character.

(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