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 » Game Design
Home Search
 

***BodyPostion - Help Needed with part angle.

Previous Thread :: Next Thread 
JetUpNy is online. JetUpNy
Joined: 18 Feb 2016
Total Posts: 258
23 Aug 2016 07:50 PM
I'm an absolute noob, building for less than 6 months and I don't want to share my project because it sucks and it doesn't make sense but I need some help with it. I have 3 buckets at a 45 degree angle to the left when you spawn. Off in the distance there's a bucket that is angled the same but is coded to move vertically, however, on play, it's set at a 90 degree angle and I can't figure out how to correct that.

How would I adjust the angle back to 45 degrees and what's overriding that property? How can I ensure that it doesn't move or rotate when hit with a football? Is there a non scientific, non mathematical, non physics way to achieve this? I suck at math and would like to keep things simple.

local movingBucket = script.Parent
local pointBucket = movingBucket.pointBucket
local start = movingBucket.start
local finish = movingBucket.finish
local bodyPosition = pointBucket.BodyPosition

while true do
pointBucket.
bodyPosition.position = start.Postion
wait(5)
bodyPosition.position = finish.Position
wait(4)
end


https://www.roblox.com/games/478190174/JETUPNY-PLAZA

This is just a place I created to test my thoughts and learn new things. Please don't down vote my project.
Report Abuse
JetUpNy is online. JetUpNy
Joined: 18 Feb 2016
Total Posts: 258
23 Aug 2016 08:50 PM
Bump

I read this as well...
https://forum.roblox.com/Forum/ShowPost.aspx?PostID=175355021
Report Abuse
JetUpNy is online. JetUpNy
Joined: 18 Feb 2016
Total Posts: 258
23 Aug 2016 10:47 PM
bump 22 views no answers...cmon..help a brotha out...I would like to learn, incorporate, and move on. Ugh..Don't make me beg...Heeeellllllpppp...I've been tinkering with max force.
Report Abuse
JetUpNy is online. JetUpNy
Joined: 18 Feb 2016
Total Posts: 258
23 Aug 2016 10:49 PM
that paintbucket in the while true do is a misprint. I tried to use the position of the object in the script..but forgot to delete the entire line before I posted it..if that's why I've been over looked.
Report Abuse
JetUpNy is online. JetUpNy
Joined: 18 Feb 2016
Total Posts: 258
24 Aug 2016 12:30 AM
BodyGyro

The BodyGyro object acts like a real gyroscope, it attempts to keep a fixed orientation of its parent relative to the BodyGyro's cframe. You can change the cframe to look at a certain spot, stop a brick from rotating, or track a player or object. Note that the position (X,Y,Z) of the CFrame doesn't affect the orientation (or anything else) of the part at all. Setting it to CFrame.new(0,0,0) or CFrame.new(1,2,3) would make no difference.

http://wiki.roblox.com/index.php?title=API:Class/BodyGyro
https://www.youtube.com/watch?v=cquvA_IpEsA
https://www.youtube.com/watch?v=eOKsHDAdTx0

Report Abuse
JetUpNy is online. JetUpNy
Joined: 18 Feb 2016
Total Posts: 258
24 Aug 2016 01:06 AM
Got it. Thanks Roblox...

local Model = script.Parent
local platform = Model.platform
local start = Model.start
local finish = Model.finish
local bodyPosition = platform.BodyPosition
local tilt = platform.BodyGyro

while true do
tilt.cframe = CFrame.Angles(0,0,90)
bodyPosition.position = start.Position
wait(8)
bodyPosition.position = finish.Position
wait(5)
end
Report Abuse
FPSPwnz0r is not online. FPSPwnz0r
Joined: 27 Jun 2011
Total Posts: 2737
24 Aug 2016 01:18 AM
...
lol you learned more in six months through hard work than I did with 3 years of being too lazy to learn and 2 years of procrastinating way too much whenever I did learn


Report Abuse
JetUpNy is online. JetUpNy
Joined: 18 Feb 2016
Total Posts: 258
24 Aug 2016 07:16 PM
@FPSPwnz0r I'm on a serious mission! lol I hope I don't offend people with my inquiries but I need answers.
Report Abuse
FPSPwnz0r is not online. FPSPwnz0r
Joined: 27 Jun 2011
Total Posts: 2737
24 Aug 2016 08:18 PM
I didn't mean to be harsh, sorry I meant that as a congratulations XD


Report Abuse
JetUpNy is online. JetUpNy
Joined: 18 Feb 2016
Total Posts: 258
25 Aug 2016 03:09 PM
@FPSPwnz0r I understood what you said and I didn't think you came off as harsh..I appreciate you not letting me talk to myself on this forum. lol. Thanks for the compliment.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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