So, I’m playing with some Paper2D stuff, and trying to spawn some TileMapComponents dynamically at runtime. I’m doing this by adding a TilemapComponent through the AddPaperTilemapComponent function in an actor, then running the CreateNewTileMap function off the TileMapComponent.
The tilemaps are generated as expected, except there’s no collision happening on the tilemap. For reference, I created a TileMap as a TileMap stand alone class using the same TileSet, and the collision worked fine on that. What am I missing?
For reference, the TileMap stand alone class is in the foreground, with its collision functioning, and the TileMapComponent is in the background with no collision:
Also, the dynamically created TileMapComponent doesn’t show up in the tilemaker actor I’m using to create the component, which I assume is somehow related. Is the component not being registered?
Also for reference, here’s the blueprint code used to generate the TileMap: