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: Help w/ a section in this boat script-

Previous Thread :: Next Thread 
Leveraged is not online. Leveraged
Joined: 23 Jul 2010
Total Posts: 11564
31 May 2015 01:27 PM
So basically the hierarchy is:

-Boat
-BodyKit
--Parts
--Paddles
-VehicleSeat
--Configurable parts [not gonna list them all, you know the basics for boats]

This is the part where it shows you're moving
while true do
local VehicleSeatThrottle = VehicleSeat.Throttle
local VehicleSeatMaxSpeed = VehicleSeat.MaxSpeed
local VehicleSeatSteer = VehicleSeat.Steer
local pad = script.Parent.Parent.BodyKit.Paddles:GetChildren()
if VehicleSeatThrottle == 1 then
if VehicleSeatMaxSpeed < Config.TopSpeed + 1 then
VehicleSeat.MaxSpeed = VehicleSeatMaxSpeed + VehicleSeat.Torque

end

If I were to get the children in paddles [Hence "local pad = script.Parent.Parent.BodyKit.Paddles:GetChildren()"] and rotate it back/forth for a realistic motion, I'm guessing you'd need CFrame, but I'm not good w/ rotation.

Any help?



Leveraged/tixmaker101 + 55k posts |
Report Abuse
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
31 May 2015 01:28 PM
if its unachored, cframe would fling it. I think youre supossed to use motors.
Report Abuse
Leveraged is not online. Leveraged
Joined: 23 Jul 2010
Total Posts: 11564
31 May 2015 01:29 PM
Damn it.

If it wasn't unanchored, how would I do it?



Leveraged/tixmaker101 + 55k posts |
Report Abuse
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
31 May 2015 01:30 PM
Look at avanta's script for turning car wheels. They use motors, try using motors. I never used motors so I cant help.
Report Abuse
Leveraged is not online. Leveraged
Joined: 23 Jul 2010
Total Posts: 11564
31 May 2015 01:32 PM
Alright, thanks :/



Leveraged/tixmaker101 + 55k posts |
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