generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Liquid simulation

Previous Thread :: Next Thread 
DevUndead is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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
lateregistration is not online. lateregistration
Joined: 02 Apr 2013
Total Posts: 2630
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 is not online. 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
dogwarrior24 is not online. dogwarrior24
Joined: 10 Nov 2010
Total Posts: 1401
04 Dec 2014 08:06 AM
Guys pls, lrn2water

http://www.roblox.com/Water-physics-Showcase-place?id=167733067
Report Abuse
DevUndead is not online. DevUndead
Joined: 24 Jul 2014
Total Posts: 558
04 Dec 2014 07:19 PM
Open source that plz?
Report Abuse
lateregistration is not online. lateregistration
Joined: 02 Apr 2013
Total Posts: 2630
05 Dec 2014 06:29 PM
Give me your code pls? I don't want to do it
Report Abuse
Ruinable is not online. 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
dogwarrior24 is not online. dogwarrior24
Joined: 10 Nov 2010
Total Posts: 1401
06 Dec 2014 12:59 PM
Verlet integration is not a good method for water simulation.
Report Abuse
DevUndead is not online. 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
dogwarrior24 is not online. dogwarrior24
Joined: 10 Nov 2010
Total Posts: 1401
07 Dec 2014 02:14 AM
I'm feeling nice.

http://www.roblox.com/Water-physics-Showcase-place?id=167733067
Report Abuse
DevUndead is not online. 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 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image