|
| 05 Jun 2011 04:02 PM |
| Do you think it might be possible to make water that moves like it with the wedge parts using a pythagorean theorem method in Lua? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
ns001111
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 2849 |
|
|
| 06 Jun 2011 04:22 PM |
Yea? I prefer "Yeah" lol >:D
|
|
|
| Report Abuse |
|
|
|
| 06 Jun 2011 04:27 PM |
There's an easier way... Just add a brick who's anchor is false and cancollide is false, size 1,1,1. Add a block mesh or whatever, and insert a Body Position object into it. Make a script that has this body position object force the brick up and down like a tide. Obviously expand the mesh scale so that it simulates water.
That's just a simple method. Do whatever you want. |
|
|
| Report Abuse |
|
|
|
| 06 Jun 2011 04:33 PM |
Wait is Pythagorean Theorem the thing like a2 + b2 = c2? Or Am i mixing it up with something else? |
|
|
| Report Abuse |
|
|
|
| 06 Jun 2011 04:41 PM |
| @bagwan12345 a^2 + b^2 = c^2, you were doing a*2 but yea, you got the idea, ^ means exponent |
|
|
| Report Abuse |
|
|
|
| 06 Jun 2011 04:42 PM |
Yes.
the square of a hypotenuse of a right triangle equals the sums of the squares of the two sides. Also known as A squared plus B squared equals C squared.
I still say my method is much simpler. Because it's a mesh it will go through the ground and wedge parts, allowing players to "swim" in it. |
|
|
| Report Abuse |
|
|
|
| 06 Jun 2011 04:49 PM |
@eXoguti093
Yeah I know, but I was trying to show an exponent, Lol! |
|
|
| Report Abuse |
|
|