Hollow Objects

Suggest changes and improvements to Algodoo.

Hollow Objects

Postby Matten » Wed Jul 28, 2010 1:54 pm

You can just check "Hollow", and only the borders of an object collide. For circles there is an extra function "Cake collide", with this you can say if the circle cake collides.
Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
User avatar
Matten
 
Posts: 435
Joined: Mon Apr 05, 2010 2:03 pm
Location: The Netherlands

Re: Hollow Objects

Postby Kilinich » Wed Jul 28, 2010 9:20 pm

Since we have "holy polygons" you can make it by yourself.
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: Hollow Objects

Postby Matten » Wed Jul 28, 2010 9:38 pm

I know that it alsocan be done with polygons, but that's an object with mass, I mean that there is a "polygon" around the object's border that doesn't weight anything, so actually his density is 0, but he still is there.
Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
User avatar
Matten
 
Posts: 435
Joined: Mon Apr 05, 2010 2:03 pm
Location: The Netherlands

Re: Hollow Objects

Postby kilebantick » Thu Jul 29, 2010 4:12 am

So you want an object that theoretically doesn't exist, yet something can still collide with it.

I think it's one of those "Hey, put this function in so i can use it for a project, even though it'll never be used again" type of suggestions.
Image
User avatar
kilebantick
 
Posts: 1267
Joined: Tue Sep 01, 2009 9:50 am

Re: Hollow Objects

Postby Matten » Thu Jul 29, 2010 12:17 pm

There isn't a project I'm working on that needs hollow objects, but it's just an idea.
Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
User avatar
Matten
 
Posts: 435
Joined: Mon Apr 05, 2010 2:03 pm
Location: The Netherlands

Re: Hollow Objects

Postby Chronos » Thu Jul 29, 2010 12:19 pm

Not a very good idea, it seems.
TheWinkits wrote:They both looks of cuking amazing
User avatar
Chronos
[Most Active Member 2010]
 
Posts: 4457
Joined: Mon Aug 31, 2009 6:00 pm
Location: Californania

Re: Hollow Objects

Postby Matten » Thu Jul 29, 2010 12:21 pm

Yes, i think so...
Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
User avatar
Matten
 
Posts: 435
Joined: Mon Apr 05, 2010 2:03 pm
Location: The Netherlands

Re: Hollow Objects

Postby link0007 » Thu Jul 29, 2010 6:54 pm

It won't be physically possible, so it would kind of ruin the accuracy of the simulation..

And indeed, you wouldn't ever need it.
Link: "Surely somebody hates Walter Cronkite.."
Sonic: "Probably.. But somebody hates everyone."
:D
User avatar
link0007
 
Posts: 408
Joined: Thu Jun 11, 2009 2:45 pm

Re: Hollow Objects

Postby coleyy » Wed Nov 03, 2010 11:03 pm

you can just clone the polygon, make it smaller, and subtract it from the original.
example:
step 1:Image
step 2:Image
step 3:Image
tada! hollow polygon:Image
I'm English. Я русский. Soy español. Je suis français. Ich bin Deutscher. 私は日本人です.Image
coleyy
 
Posts: 31
Joined: Fri Sep 24, 2010 11:13 pm

Re: Hollow Objects

Postby RicH » Thu Nov 04, 2010 11:31 am

That technique sucks when used on shapes with unequal sides(as shown above). The thickness of the borders aren't equal.
Millions of voices suddenly cried out in terror, and were suddenly silenced. Something terrible has happened.
User avatar
RicH
[Funniest Person 2010]
 
Posts: 2043
Joined: Tue Sep 01, 2009 9:01 am

Re: Hollow Objects

Postby coleyy » Thu Nov 04, 2010 9:06 pm

RicH wrote:That technique sucks when used on shapes with unequal sides(as shown above). The thickness of the borders aren't equal.
i know that, but at least it is a hollow object
I'm English. Я русский. Soy español. Je suis français. Ich bin Deutscher. 私は日本人です.Image
coleyy
 
Posts: 31
Joined: Fri Sep 24, 2010 11:13 pm

Re: Hollow Objects

Postby Chronos » Thu Nov 04, 2010 9:10 pm

A sucky, piece-of-shit hollow objects. Now stop bumping old topics with your crappity crap pile-o'-crap "solutions," before I go all Medieval on yo' ass, boi.
TheWinkits wrote:They both looks of cuking amazing
User avatar
Chronos
[Most Active Member 2010]
 
Posts: 4457
Joined: Mon Aug 31, 2009 6:00 pm
Location: Californania

Re: Hollow Objects

Postby Rideg » Fri Nov 05, 2010 2:34 am

Chronos wrote:A sucky, piece-of-shit hollow objects. Now stop bumping old topics with your crappity crap pile-o'-crap "solutions," before I go all Medieval on yo' ass, boi.

Pulp Fiction for the win
Image
make sure to check out my work.
User avatar
Rideg
 
Posts: 948
Joined: Tue Dec 15, 2009 5:17 pm
Location: Östersund, Sweden


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 5 guests