Hello!
In our game we have isometric map. It looks like:
Click #1 should return me object_id = 1
Click #2 should return me object_id = 2
There is a good example with collision objects:
But I can’t understand how can I assign collision shape to game object, when I create it with lua:
local id = factory.create("#object_factory", pos, null, { object_id = object_id })
Each object in object_factory has its own shape. Any ideas how can I deal with it?
Tnx!