problem with buildPhysical()

Hi,

maybe I’m overlooking something but when I use buildPhysical() I do not get any physical representation of the map. What’s more, all my other physical bodies instantiated after that do not show up as well.
If comment the buildPhysical out, those work fine.

I do not get any errors in the console, turning on the debugMode of Lime does not reveal anything either.

Maybe someone can help me as I’m just starting off and someone else must’ve run into this? What am I most probably missing?

Thank you in advance,
Mathias [import]uid: 85192 topic_id: 15450 reply_id: 315450[/import]

It may seem a silly question, but are you sure you have set up the properties correctly in Tiled? [import]uid: 5833 topic_id: 15450 reply_id: 57153[/import]

Thank you for the quick reply and I don’t mind the silly at all :wink: although I’ve no idea at the moment what I could have overlooked.

Here’s what the .tmx in xml format results in:

<tile id="0"><br> <properties><br> <property name="HasBody" value=""></property><br> <property name="bodyType" value="static"></property><br> <property name="bounce" value="0.8"></property><br> <property name="density" value="0.1"></property><br> <property name="friction" value="0.1"></property><br> </properties><br> </tile>  
<tile id="1"><br> <properties><br> <property name="HasBody" value=""></property><br> <property name="bodyType" value="static"></property><br> <property name="bounce" value="0.5"></property><br> <property name="density" value="0.5"></property><br> <property name="friction" value="0.5"></property><br> </properties><br> </tile>  

I haven’t subscribed yet, maybe it’s something to do with being on version 2011.591, still?

What is funny is that it stops my other physic bodies from working as well.

Well, I’ll have another look tomorrow. Sometimes a bit of distance helps. [import]uid: 85192 topic_id: 15450 reply_id: 57166[/import]

There is a small possibility that having the physics lib already required may be causing a conflict, if possible when you get a chance could you send me over your project ( or a simplified demo ) showing the problem to support@justaddli.me

[import]uid: 5833 topic_id: 15450 reply_id: 57170[/import]