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

TileSet physics layer doesn't have collision priority property #98772

Closed
KeyboardDanni opened this issue Nov 2, 2024 · 0 comments · Fixed by #98773
Closed

TileSet physics layer doesn't have collision priority property #98772

KeyboardDanni opened this issue Nov 2, 2024 · 0 comments · Fixed by #98773

Comments

@KeyboardDanni
Copy link
Contributor

KeyboardDanni commented Nov 2, 2024

Tested versions

Reproducible in dev

System information

Godot v4.4.dev - Windows 10.0.22631 - Multi-window, 2 monitors - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 3070 (NVIDIA; 32.0.15.6603) - AMD Ryzen 7 5800X3D 8-Core Processor (16 threads)

Issue description

Currently, TileSet physics layers do not have a collision_priority property, meaning that TileMapLayers always have a collision_property of 1.0, despite the fact that other Nodes allow the user to set this property. Being able to set this property is important for avoiding getting objects stuck inside the walls during depenetration.

Steps to reproduce

Just check the collision properties for TileSet physics layers:

CollisionSettingsTilemap

Versus collision properties for CollisionObject2D:

CollisionSettingsCollisionObject

Minimal reproduction project (MRP)

N/A (see #98773 for a demo with the proposed fix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants