Giter VIP home page Giter VIP logo

andenginedebugdrawextension's People

Contributors

coccor avatar nazgee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

andenginedebugdrawextension's Issues

AABB after scaling Body Fixtures

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

Fatal Exception java.lang.NegativeArraySizeException

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.

what about collision detection of circles?

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.