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: Brick conveyor through scripting

Previous Thread :: Next Thread 
Wittiest is not online. Wittiest
Joined: 02 Mar 2009
Total Posts: 9665
23 Jul 2015 09:21 PM
I would like to use scripting to accomplish the following:

A set of bricks make a path from point one to two. When a brick is spawned at the end of one side, it stays exactly on top of the path and follows it to the end of the path.

Would I need to use CFraming?

If I do use CFraming, how could I make this autonomous? I want multiple paths, and don't want to have to customize loops with certain cframe movements and rotations for every one.
Report Abuse
ash877 is not online. ash877
Joined: 18 Feb 2008
Total Posts: 5142
23 Jul 2015 09:24 PM
brick.CFrame=oldBrick.CFrame*CFrame.new(brick.Size.X,0,0)

brick.Velocity=brick.CFrame.lookVector
Report Abuse
Wittiest is not online. Wittiest
Joined: 02 Mar 2009
Total Posts: 9665
23 Jul 2015 09:47 PM
I still don't understand how to use this to make a script that will automatically move a brick in increments from point A to B if there are curves in the path
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