Commit ac89d1a
committed
Arcade Physics Body has a new property
worldBounce. This controls the elasticity of the Body specifically when colliding with the World bounds. By default this property is null, in which case Body.bounce is used instead. Set this property to a Phaser.Point object in order to enable a World bounds specific bounce value (thanks @VitaZheltyakov phaserjs#2465)1 parent f9994fa commit ac89d1a
3 files changed
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| 344 | + | |
344 | 345 | | |
345 | 346 | | |
346 | 347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
164 | 172 | | |
165 | 173 | | |
166 | 174 | | |
| |||
581 | 589 | | |
582 | 590 | | |
583 | 591 | | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
584 | 595 | | |
585 | 596 | | |
586 | 597 | | |
587 | | - | |
| 598 | + | |
588 | 599 | | |
589 | 600 | | |
590 | 601 | | |
591 | 602 | | |
592 | 603 | | |
593 | | - | |
| 604 | + | |
594 | 605 | | |
595 | 606 | | |
596 | 607 | | |
597 | 608 | | |
598 | 609 | | |
599 | 610 | | |
600 | | - | |
| 611 | + | |
601 | 612 | | |
602 | 613 | | |
603 | 614 | | |
604 | 615 | | |
605 | 616 | | |
606 | | - | |
| 617 | + | |
607 | 618 | | |
608 | 619 | | |
609 | 620 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2937 | 2937 | | |
2938 | 2938 | | |
2939 | 2939 | | |
| 2940 | + | |
2940 | 2941 | | |
2941 | 2942 | | |
2942 | 2943 | | |
| |||
0 commit comments