DevUndead
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 558 |
|
|
| 03 Dec 2014 04:40 PM |
| Would it be easy to re create something like this: http://mrdoob.com/lab/javascript/webgl/voxels_liquid/ in roblox, if so how? |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 03 Dec 2014 04:42 PM |
| Somewhat. I used to have a script for fluid simulation in C# lying around somewhere, but I don't think I do anymore in order to port it. |
|
|
| Report Abuse |
|
|
Argelius
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 4047 |
|
|
| 03 Dec 2014 04:44 PM |
What you want is similar to the water here:
http://www.roblox.com/Tree-of-Life-place?id=123888406 |
|
|
| Report Abuse |
|
|
DevUndead
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 558 |
|
|
| 03 Dec 2014 04:47 PM |
| Yeah that is a great example anyone have a method or a script for that? |
|
|
| Report Abuse |
|
|
DevUndead
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 558 |
|
|
| 03 Dec 2014 05:06 PM |
| Elum if I get you the source code can you port it? |
|
|
| Report Abuse |
|
|
|
| 04 Dec 2014 01:31 AM |
| Why don't you just figure out how to, instead of trying to snatch other people's work so that you don't have to go through the development process. |
|
|
| Report Abuse |
|
|
DevUndead
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 558 |
|
|
| 04 Dec 2014 06:17 AM |
| Because I couldent figure it out, btw I thinksthats what open sourcing is about |
|
|
| Report Abuse |
|
|
|
| 04 Dec 2014 08:06 AM |
Guys pls, lrn2water
http://www.roblox.com/Water-physics-Showcase-place?id=167733067 |
|
|
| Report Abuse |
|
|
DevUndead
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 558 |
|
| |
|
|
| 05 Dec 2014 06:29 PM |
| Give me your code pls? I don't want to do it |
|
|
| Report Abuse |
|
|
Ruinable
|
  |
| Joined: 14 Sep 2014 |
| Total Posts: 8903 |
|
|
| 05 Dec 2014 06:30 PM |
Don't use blocks like that. Use Verlet Integration, it will look better. :3
Mr. Mustachio | ( ͡°╭͜ʖ╮͡° ) |
|
|
| Report Abuse |
|
|
|
| 06 Dec 2014 12:59 PM |
| Verlet integration is not a good method for water simulation. |
|
|
| Report Abuse |
|
|
DevUndead
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 558 |
|
|
| 06 Dec 2014 10:38 PM |
| Dog can you open source the script for the water? Pretty pretty please :) |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2014 02:14 AM |
I'm feeling nice.
http://www.roblox.com/Water-physics-Showcase-place?id=167733067 |
|
|
| Report Abuse |
|
|
DevUndead
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 558 |
|
|
| 08 Dec 2014 03:54 PM |
I pulled a quick peice of code out of my arse to generate a grid array that you could use to make a bigger grid that is stored in a array.
i = 0 l = 32 *32 8 cube = script:GetChildren()
While i < l do ncube = cube:clone() ncube.Parent = game.Workspace ncube.position = Vector3( size + ((i % 32) * 10), Math.floor( y ), size + ((i / 32) / 10) ) i = i + 1 Table.insert(Grid, ncube) Wait() end
Tell me if it works studio is not accessable for me right now.
|
|
|
| Report Abuse |
|
|
lah30303
|
  |
| Joined: 15 Feb 2008 |
| Total Posts: 10027 |
|
|
| 08 Dec 2014 06:06 PM |
| You could probably cheese it with the right combo of bodyforce, bodygyro, and bodyPosition, with the bodyposition affecting y force depending on position of adjacent cells. You may even be able to replace bodyposition with rocketpropulsions using adjacent cells as targets. I'm tempted to try this but I have finals projects. |
|
|
| Report Abuse |
|
|
DevUndead
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 558 |
|
|
| 08 Dec 2014 06:37 PM |
| W0t m8 taLkin bout me mum. Geet out my threaad m8 |
|
|
| Report Abuse |
|
|