Hi!
How to add physics to a bitmap text?
To add physics to an image is easy:
this.physics.add.image(0, 0, ‘ball’);
Unfortunately, this.physics.add.bitmapText(0, 0, ‘font’, ‘В’); doesn’t work.
Is there any solution?
It seems I solved the problem with the help of existing(child):
let text = this.add.bitmapText(0, 0, ‘font’, ‘abc’);
this.physics.add.existing( text );
After that physics works on the object.