Jump to content

Particle collision


Konstan
 Share

Recommended Posts

Hello! I am new to pixijs and was wondering if there is some way in which I could implement object collision for particles or if there is a way in which I could use an emitter but instead of generating particles it would generate objects. I am essentially looking to create a bullet hell game in which the bullets follow different patterns and the particle system that pixi offers is almost exactly what I need!

Thanks in advance for any responses.

Link to comment
Share on other sites

Pixi doesnt have physics in it.

The only official demo that shows whether pixi functions can be used for collisions: https://pixijs.io/examples/#/demos-advanced/collision-detection.js

The thing is , you need another library for it.

OR you can just write everything yourself. You can even move physics to renderTexture and shader if you are proficient with WebGL :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...