Client with streamed entities do not set their geometry
Posted: Fri Aug 30, 2013 11:48 am
Hi,
I just wonder if this was expected.
I create an IgeEntityBox2d server side i create a box2d body that is a circle which i set .width(100) .height(100)
It then uses the geometry data to create the circle it seems, I can override with { data: { radius: xxx }} in the fixture.
So server side the entitiy is perfect.
With streamMode(1) the geometry doesn't appear to get reflected on the client so the texture is not scaled appropriately.
If i force the width() & height() for the client it's fine, but this seems like unnecessary duplication?
Thanks in advance for your help
Rob
I just wonder if this was expected.
I create an IgeEntityBox2d server side i create a box2d body that is a circle which i set .width(100) .height(100)
It then uses the geometry data to create the circle it seems, I can override with { data: { radius: xxx }} in the fixture.
So server side the entitiy is perfect.
With streamMode(1) the geometry doesn't appear to get reflected on the client so the texture is not scaled appropriately.
If i force the width() & height() for the client it's fine, but this seems like unnecessary duplication?
Thanks in advance for your help
Rob