[2.1.0] - ERROR - Body::IsBad
5 posts • Page 1 of 1
[2.1.0] - ERROR - Body::IsBad
Removing a part or whole of the body causes "Body::IsBad" error.
This error is not caused usually.
I don't know what type of body causes this.
Scene data for reproducing this error:
http://www.algodoo.com/algobox/details.php?id=70392
This error is not caused usually.
I don't know what type of body causes this.
Scene data for reproducing this error:
http://www.algodoo.com/algobox/details.php?id=70392
- Attachments
-
- Logfile.txt
- Log file when the error was caused.
- (11.64 KiB) Downloaded 20 times
-
mori-d - Posts: 28
- Joined: Sun May 02, 2010 1:56 am
Re: [2.1.0] - ERROR - Body::IsBad
This error is caused by setting density = 0 in script.
Use
Scene.RemoveEntity(entity)
instead.
Use
Scene.RemoveEntity(entity)
instead.
- s_noonan
- Posts: 61
- Joined: Tue Mar 30, 2010 2:25 am
Re: [2.1.0] - ERROR - Body::IsBad
Never use "density = 0", Algodoo doesn't remove the geometry properly, just puts it into an invalid state essentially just hiding it and performing no calculations on it, and as a result, algodoo doesn't remember to clear the RAM associated to that object, and on a scene where you're spawning and deleting objects a lot, you can get into a real bother.
When asking for help, READ THE STICKIES!
- electronicboy
- Posts: 1694
- Joined: Mon Aug 31, 2009 6:18 pm
Re: [2.1.0] - ERROR - Body::IsBad
s_noonan wrote:This error is caused by setting density = 0 in script.
Use
Scene.RemoveEntity(entity)
instead.
No such script is in the scene data.
Download the above scene I'd uploaded,
select the object in the scene and delete it by pressing DEL key.
Then open console by F10 and you can see the error.
-
mori-d - Posts: 28
- Joined: Sun May 02, 2010 1:56 am
Re: [2.1.0] - ERROR - Body::IsBad
deleting a body makes it bad.
I can verify this with my own scene.
I fail to see how this is an error.
perhaps the error is that it should not be reported as an error, thus it mori-d is reporting it as an error. however there may be times when it is an error, and Algodoo simply doesn't brain enough to know the difference.
I can verify this with my own scene.
I fail to see how this is an error.
perhaps the error is that it should not be reported as an error, thus it mori-d is reporting it as an error. however there may be times when it is an error, and Algodoo simply doesn't brain enough to know the difference.
- jon_joy_1999
- Posts: 233
- Joined: Fri Dec 09, 2011 12:51 am
5 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 16 guests