This.matter.add.image

Hi There.

I cant understand why some body properties work when you add a matter image and some don’t.

For example…

This Works. Restitution is set
player = this.matter.add.image(X, Y, ‘ship’, null, { isStatic:false, restitution: 0.8 })

This does not set the mass.
player = this.matter.add.image(X, Y, ‘ship’, null, { isStatic:false, restitution: 0.8, mass:100})

I also tried other properties such as scale and density, as per


but they don’t seem to work either.

In fact one of the demos show’s mass set as above.

What am I missing.
Cheers

ps. I realise that I can do after the fact.
player.setDensity(200)
player.setScale(0.5)