Oliver Zell

Results 35 comments of Oliver Zell

Hey! Unfortunately I wasn't able to reproduce the bug yet. I tried something like: ``` const world = new pl.World(Vec2(0, -10)); // ... var ground = world.createBody(); ground.createFixture(pl.Box(80, 30, Vec2(0,...

I also thought about scaling but a radius of 8 / 60 ~ 0.13 should actually be fine and also worked in a test I did. But I noticed that...

What?! Ok, I have to debug it at the weekend 😄 My current guess would also be that the cause is a floating point error when applying gravity. Still a...

Ok, I think I figured out what happens: ```javascript console.log('running fullBounce.js#'); let ball, platform; let gridSize = 32; let prevVel = 0 let prevEn = 0 function setup() { createCanvas(800,...

The problem is that I think we don't want to deviate from box2d's implementation. And though I think it would lead to a more accurate (but still in general not...

Hey! I'm still not really sure whether it is a good idea to implement it in planck, so I would prefer to not implement it currently. But I think I...

Thank you very much for reporting! I will try to find and remove deoptimizations as soon as I find some time

Thanks for pointing that out! Origininally the constructor was typed as ``` new(def?: WorldDef | Vec2 | null): World; ``` but somehow that got lost in the typings. @shakiba Do...

I did a quick test and it works as expected 👍 (I don't exactly remember the problem for shapes, just know that extending a class did not work in declaration...

Can you share your exact setup? Seems like you are not including Planck.js in your bundling process or maybe you are trying to use planck directly as a ts module?