I know 0.8 isn't released yet and I should be expecting it to fail on occasion but I've already upgraded In The Dark and the only major issue I have is (I think) with fixture deletion, when you call fixture:destroy() it seems to work, but it leaves behind ghost fixtures that occasionally cause things to happen and anger raycast calls.
I threw together a quick example, pressing a key alternates between creating and destroying the box, the raycasts let you see the "ghost" boxes.
I've been trying to figure out the cause of the issue but I'm not very familiar with the internal workings of box2D. Anyone know how this might be fixed?
0.8 physics derp
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- The Burrito
- Party member
- Posts: 153
- Joined: Mon Sep 21, 2009 12:14 am
- Contact:
0.8 physics derp
- Attachments
-
- rayderp.love
- (1.23 KiB) Downloaded 64 times
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: 0.8 physics derp
That is, indeed, one of the issues yet to be resolved.
Re: 0.8 physics derp
Might I add, that is a genius way to check what exactly is going on.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: 0.8 physics derp
I have no idea, but there is no harm in asking:
have you tried manually running the Lua garbage collector right after each deletion? It could be staying there just because of that.
I would try myself, but I'm stuck in 0.7.2 for now.
have you tried manually running the Lua garbage collector right after each deletion? It could be staying there just because of that.
I would try myself, but I'm stuck in 0.7.2 for now.
When I write def I mean function.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: 0.8 physics derp
Kikito, as I said, this is a known bug.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 215 guests