Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The type of Arcade Static Body is missing #6967

Closed
yongzheng7 opened this issue Nov 27, 2024 · 1 comment
Closed

The type of Arcade Static Body is missing #6967

yongzheng7 opened this issue Nov 27, 2024 · 1 comment
Assignees

Comments

@yongzheng7
Copy link

Version

Phaser Version: 3.86.0

  • Browser:

Description

            type ArcadeColliderType = Phaser.Physics.Arcade.Body | Phaser.GameObjects.GameObject | Phaser.GameObjects.Group | Phaser.Physics.Arcade.Sprite | Phaser.Physics.Arcade.Image | Phaser.Physics.Arcade.StaticGroup | Phaser.Physics.Arcade.Group | Phaser.Tilemaps.TilemapLayer | Phaser.Physics.Arcade.Body[] | Phaser.GameObjects.GameObject[] | Phaser.Physics.Arcade.Sprite[] | Phaser.Physics.Arcade.Image[] | Phaser.Physics.Arcade.StaticGroup[] | Phaser.Physics.Arcade.Group[] | Phaser.Tilemaps.TilemapLayer[];

The ArcadeColliderType type only has Body and not Static Body

Can Static Body support it

Example Test Code

image

@zekeatchan
Copy link
Collaborator

Hi @yongzheng7. Thanks for submitting this issue. We have fixed this and pushed it to the master branch. It will be part of the next release. Do test it out and let us know if you encounter any issues.

@zekeatchan zekeatchan self-assigned this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants