Jump to content

Black particle, slow the time and physic links


The Snow Irbix
 Share

Recommended Posts

Hello guys !

I need again a little bit of help,

I love babylonJS and his community, you are awesome guys !

 

Firstly, I would like to use blacks particles, but I don't know how can I do this, because it's the transparent color.

 

Secondly, I would like to know if it is possible to slow or speed up the time in the game, to create a "slow motion" effect.

 

Finally, I try to create a physic destruction, with a bullet and a wall : http://www.babylonjs-playground.com/#DBETC

 

The goal is to remove the physic link when the force is too strong.

To do this, I thought run a fonction test collisions with all objects, but is too long, due to the big number of meshes that compose my scene.

So, is it possible to call a callback function when the physic engine detect a collision ? If it is, how ?

And how can I remove a physic link between two meshes ?

 

Thank you !

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...