Collision with platform

Good afternoon,

  1. I am doing a test for platform game but when falling from the platform and colliding by the sides my character is clinging to the platform and stops falling.
    How can I resolve this?

  2. How can I make a collision with a certain object, without being with everyone?

Follow the link for my project:


Thank you very much !

Not sure what you mean by this? Can you provide screenshots?

This is known as collision filtering. The physics library we use is ammo.js which a compiled version of Bullet. Collision filtering is not exposed in the editor but you can set the group and masks (both are bitmasks) in code like so: |= 1 << 6;
this.entity.rigidbody.mask |= 1 << 6;

The Bullet documentation on how this works can be found here:

If you are making a 2D physics based game, then you may also want to consider using p2.js which is lighter weight than ammo.js. Will wrote the integration scripts on this project: