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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Game Design
Home Search
 

Re: BodyGyro, cframe property?

Previous Thread :: Next Thread 
Zerio920 is not online. Zerio920
Joined: 06 Apr 2012
Total Posts: 3311
28 Nov 2014 07:05 PM
How do I use this? Does it specify a point the brick faces, or the rotation a brick is held at?
Report Abuse
C0D3Y is not online. C0D3Y
Joined: 24 Jul 2010
Total Posts: 1692
28 Nov 2014 07:08 PM
If I understand your question correctly, the CFrame property of BodyGyro specifies the CFrame the brick is trying to ultimately achieve.
Report Abuse
Zerio920 is not online. Zerio920
Joined: 06 Apr 2012
Total Posts: 3311
28 Nov 2014 07:18 PM
So the angles the object is trying to achieve?
Report Abuse
C0D3Y is not online. C0D3Y
Joined: 24 Jul 2010
Total Posts: 1692
28 Nov 2014 07:21 PM
Not only the angles. It needs the entire CFrame, as far as I can tell from the Wiki anyways.
Report Abuse
Zerio920 is not online. Zerio920
Joined: 06 Apr 2012
Total Posts: 3311
28 Nov 2014 07:35 PM
I thought BodyGyro simply kept an object at a fixed rotation, and BodyPosition moves an object to a certain location. If BodyGyro moves objects, what's the difference between it and CFrame?
Report Abuse
C0D3Y is not online. C0D3Y
Joined: 24 Jul 2010
Total Posts: 1692
28 Nov 2014 07:40 PM
It's basically the same way as you said it. BodyGyro will try to keep the part at that rotation. It will move it smoothly into the rotation you enter. If you simply used CFrame, it would just snap into place, and you wouldn't be able to move it. If you set it correctly, BodyGyro can allow you to walk into the side of a part, therefore rotating it, and then it will rotate back to its original position when you stop touching it. Does this make sense?
Report Abuse
Zerio920 is not online. Zerio920
Joined: 06 Apr 2012
Total Posts: 3311
28 Nov 2014 08:04 PM
Sorry, I meant the difference between BodyGyro and BodyPosition*

Anyways, I tried changing it but it wouldn't do anything.
Report Abuse
HardcoreBowels is not online. HardcoreBowels
Joined: 05 Jun 2013
Total Posts: 3650
28 Nov 2014 08:32 PM
Bodyposition sets the actual position of an object to the given coordinates, and holds it there, but is able to rotate freely.
Report Abuse
iwishforpie1 is not online. iwishforpie1
Joined: 20 Mar 2011
Total Posts: 1423
28 Nov 2014 08:35 PM
bodygyro is used to look at a brick, scripts to make it stable just make their cframe value look down at the floor.
Report Abuse
Zerio920 is not online. Zerio920
Joined: 06 Apr 2012
Total Posts: 3311
30 Nov 2014 02:06 AM
So does the cframe property make a brick look in a certain direction or just keep it at a certain rotation?
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