Skip to content

Retain Tiled object type, props on tile object components#307

Open
fmoo wants to merge 2 commits intoSeanba:masterfrom
fmoo:feature/expose-collider-objectType
Open

Retain Tiled object type, props on tile object components#307
fmoo wants to merge 2 commits intoSeanba:masterfrom
fmoo:feature/expose-collider-objectType

Conversation

@fmoo
Copy link
Copy Markdown
Contributor

@fmoo fmoo commented Apr 7, 2026

Right now the type/class and props on collisions objects in the collision editor are discarded for e.g., tile objects.
This change adds m_ObjectType to SuperCollider and copies the values over from the collision object used to create the collision object(s)

fmoo added 2 commits April 7, 2026 07:51
Exposes collision.m_ObjectType on SuperColliderComponent so game code can identify what Tiled type a collider originated from.
Attach SuperCustomProperties to each collider GO, merging properties from the collision object, parent tile, and object type.
@fmoo fmoo changed the title Track Tiled object type on collider components Retain Tiled object type, props on tile object components Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant