Hello everyone.
I want to use Compound collision shapes added in version 1.24.0.
However, it seems that composite collision shapes do not work in projects made from blank projects.
I added Ammo.js to the project, but Compound collision doesn’t work.
var Compound = pc.createScript('compound');
// initialize code called once per entity
Compound.prototype.initialize = function() {
this.entity.collision.type = "compound";
};
// update code called every frame
Compound.prototype.update = function(dt) {
};