nazgee / andenginedebugdrawextension Goto Github PK
View Code? Open in Web Editor NEWDebug draw for box2d extension of AndEngine
Debug draw for box2d extension of AndEngine
Hi!
I'm successfully scaling a body fixtures like this:
...
fixtureDef.shape.setRadius(fixtureDef.shape.getRadius() * scale);
body.createFixture(fixtureDef);
...
But the AABB aren't updated (scaled). I'm attaching the DebugDraw after scaling the body
This can be quite missleading, but is not that urgent
Hello,
first of all thank you for a great extension of andengine.
i am using your extension to draw a circle around my sprite.
but when i use .collidesWith() method.
there is no response.
could i ask you why?
I was just playing around with the Vector2[] array for PhysicsFactory.createPolygonBody() when, for some configuration, the following Exception occurred:
Fatal Exception java.lang.NegativeArraySizeException
-1087563695
RenderOfPolyFixture.java line 22
org.andengine.extension.debugdraw.RenderOfPolyFixture.<init>
DebugRenderer.java line 232
org.andengine.extension.debugdraw.DebugRenderer$RenderOfBody.<init>
DebugRenderer.java line 77
org.andengine.extension.debugdraw.DebugRenderer.onManagedUpdate
Entity.java line 1405
org.andengine.entity.Entity.onUpdate
Entity.java line 1656
org.andengine.entity.Entity.onManagedUpdate
Scene.java line 283
org.andengine.entity.scene.Scene.onManagedUpdate
Entity.java line 1405
org.andengine.entity.Entity.onUpdate
Engine.java line 611
org.andengine.engine.Engine.onUpdateScene
Engine.java line 606
org.andengine.engine.Engine.onUpdate
LimitedFPSEngine.java line 57
org.andengine.engine.LimitedFPSEngine.onUpdate
Engine.java line 568
org.andengine.engine.Engine.onTickUpdate
Engine.java line 858
org.andengine.engine.Engine$UpdateThread.run
Could this have been an overflow? The size of my array was not negative, obviously. I was just testing arrays with 6 to 12 elements.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.