TileMap Collision Scaling

Hello.

I made a game object containing my TileMap which I am scaling up 2x. (pixel art style)

I notice the collision map does not scale with the game object, and uses the collisions as if it were not scaled at all.

Am I forgetting to do something or is there a way around this?

Thank you!

I think this is a bug. See Scaling Collision Object when Game Object is scaled (DEF-521)

Okay, thanks. For now I will just make the tiles twice as big.

Try setting the Z scaling to the same as X and Y. I´m not sure if it affects anything else, but atleast it scales the collision object correctly.
I haven’t tried it on TileMap, only on a GameObject with a Sprite.

1 Like

I try to do the same with a gameobject but the collider still don’t scale even with same value for the 3 axis. It should works with then function : go.set_scale(vmath.vector3(2,2,2))??
thanks