Eraser object scripting?
15 posts • Page 1 of 1
Eraser object scripting?
I was thinking about making a saw blade weapon or something, and I was wondering if you could make an object into an eraser. Like the draw tool's right click. Anybody know how to do that? I use Phun, if that makes a difference.
Last edited by FruitMonger on Fri Jan 15, 2010 10:04 pm, edited 1 time in total.
-
FruitMonger - Posts: 135
- Joined: Thu Dec 10, 2009 8:20 pm
- Location: Some fruit stand in Indiana
Re: Eraser object scripting?
You cannot easily do this. You could start with an already known object, delete it, then spawn a polygon in its place, and repeat. Although, using that method, you cannot do it with ease.
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
Re: Eraser object scripting?
- Code: Select all
killer = true
?
Dream of Algodoo as game development engine...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: Eraser object scripting?
Kilinich wrote:
- Code: Select all
killer = true
?
He meant to erase only part of the object(imagine lightsaber), not the whole object itself.
Millions of voices suddenly cried out in terror, and were suddenly silenced. Something terrible has happened.
-
RicH - [Funniest Person 2010]
- Posts: 2043
- Joined: Tue Sep 01, 2009 9:01 am
Re: Eraser object scripting?
oh well, laser cutter can do that trick
Dream of Algodoo as game development engine...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: Eraser object scripting?
Like the brush tool. Not like the cut tool.
Millions of voices suddenly cried out in terror, and were suddenly silenced. Something terrible has happened.
-
RicH - [Funniest Person 2010]
- Posts: 2043
- Joined: Tue Sep 01, 2009 9:01 am
Re: Eraser object scripting?
Well then, just paint it over with background color polygons
Dream of Algodoo as game development engine...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: Eraser object scripting?
Rich is right, I want the object to be able to fall and erase right through a block, like if you spam CSG subtract.
-
FruitMonger - Posts: 135
- Joined: Thu Dec 10, 2009 8:20 pm
- Location: Some fruit stand in Indiana
Re: Eraser object scripting?
Ah yes i had this idea back in the phunland forums. I gave up and moved on.
-
niffirg1 - Posts: 376
- Joined: Mon Aug 31, 2009 10:31 pm
- Location: The Great American South!
Re: Eraser object scripting?
Alright, thanks for your input, guys. If I am going to make a saw blade weapon, I'll have to make a bunch of pieces stuck together as my victim and make the saw a killer.
-
FruitMonger - Posts: 135
- Joined: Thu Dec 10, 2009 8:20 pm
- Location: Some fruit stand in Indiana
Re: Eraser object scripting?
Or use breakable hinges.
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
Re: Eraser object scripting?
Yeah, but that wouldn't be the same as erasing whatever it touches. It'd just get rid of huge chunks.
-
FruitMonger - Posts: 135
- Joined: Thu Dec 10, 2009 8:20 pm
- Location: Some fruit stand in Indiana
Re: Eraser object scripting?
Killinich is right: laser cutter slightly before the blade and parallel to it + some killer geometry slightly inside the blade to kill small chunks could do very well.
Phundamentalist
-
davidz40 - Posts: 438
- Joined: Sun Sep 06, 2009 10:30 am
- Cs24
- Posts: 41
- Joined: Tue Nov 03, 2009 5:30 am
Re: Eraser object scripting?
Okay, but I don't have algodoo....
-
FruitMonger - Posts: 135
- Joined: Thu Dec 10, 2009 8:20 pm
- Location: Some fruit stand in Indiana
15 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 17 guests