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: I made

Previous Thread :: Next Thread 
Xavier123abc123 is not online. Xavier123abc123
Joined: 21 May 2014
Total Posts: 13
08 Oct 2015 08:36 AM
I made a platform that goes back and forth, to loacation1, and location 2. But when I added bricks to it, they didn't turn when it went to a different. They just kept moving. For example, like a plane moving but it's not changing the point of the nose of it. can someone help me with this so taht it turns when it moves. Here's the script



script.Parent.Touched:connect(onTouched)
seconds = 5
while true do
script.Parent.BodyPosition.position = script.Parent.Parent.Location1.Position
wait(seconds)
script.Parent.BodyPosition.position = script.Parent.Parent.Location2.Position
wait(seconds)
end

Ty, message me if you can.

Report Abuse
LordxLoss is not online. LordxLoss
Joined: 02 Jun 2012
Total Posts: 1999
08 Oct 2015 08:48 AM
replace script.Parent.BodyPosition.position with script.Parent.Position
Report Abuse
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
08 Oct 2015 08:50 AM
@Lord

No, do you even know what BodyPosition is for? It's to automatically lerp the positions.

@OP

Increase the force, that is likely causing the issue. (math.huge or part mass)
Report Abuse
LordxLoss is not online. LordxLoss
Joined: 02 Jun 2012
Total Posts: 1999
08 Oct 2015 09:02 AM
Hm, never used BodyForce before, I forgot that existed.
What is lerping?
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