MarkPH
|
  |
| Joined: 18 May 2013 |
| Total Posts: 285 |
|
|
| 13 Dec 2015 02:01 PM |
I'm trying to make a boat float on a water block. Just a simple boat able to move around that block. But here's the question, how do I do that? Do I need to script? Thanks for helping.
Also, I'm not going to use water terrain.. |
|
|
| Report Abuse |
|
|
|
| 13 Dec 2015 02:06 PM |
http://www.roblox.com/Floating-crate-item?id=327757174
Use this, Use the parts to make a boat |
|
|
| Report Abuse |
|
|
MarkPH
|
  |
| Joined: 18 May 2013 |
| Total Posts: 285 |
|
|
| 13 Dec 2015 08:17 PM |
| I'm trying to make my boat float, not to create one. Also, that floats on >WATER TERRAIN<. |
|
|
| Report Abuse |
|
|
wubby301
|
  |
| Joined: 15 May 2010 |
| Total Posts: 1907 |
|
|
| 13 Dec 2015 09:09 PM |
here use this script
function onTouched(h) if h.Name == "YOUR WATER'S NAME HERE" then h.CFrame = CFrame.new(Vector3.new(script.Parent.Position.X,h.Position.Y + (h.Size.Y / 2),script.Parent.Position.Z)) end end script.Parent.Touched:connect(onTouched) -- PUT THIS SCRIPT ON EVERY BOAT'S PARTS
Instructions: 1. Create the script on your game you're using on roblox studio right now 2. put this code into the script 3. copy the script 4. select the part ON EXPLORER 5. press shift+v 6. select the next part again 7. press shift+v 8. repeat step 6 and 7 until you placed scripts on all of the boat's parts 9. test it!
if something goes wrong reply me. |
|
|
| Report Abuse |
|
|
wubby301
|
  |
| Joined: 15 May 2010 |
| Total Posts: 1907 |
|
|
| 13 Dec 2015 09:11 PM |
| if you want the smooth floating reply me and i make one for you. |
|
|
| Report Abuse |
|
|
wubby301
|
  |
| Joined: 15 May 2010 |
| Total Posts: 1907 |
|
|
| 13 Dec 2015 09:14 PM |
| The smooth floating script takes many minutes so if you are creating this game impatiently, use that small script than the smooth floating. |
|
|
| Report Abuse |
|
|
MarkPH
|
  |
| Joined: 18 May 2013 |
| Total Posts: 285 |
|
|
| 14 Mar 2016 01:30 AM |
| Sorry for not replying for a long time! Perhaps we can talk about it tomorrow, thanks for the help! I'll try and see if the script works, and maybe we can cooperate more at March 14. |
|
|
| Report Abuse |
|
|