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: [Question] Rotating models

Previous Thread :: Next Thread 
mario118118 is not online. mario118118
Joined: 05 Jul 2012
Total Posts: 245
01 May 2016 04:29 AM
--So after using :MoveTo() on a car that is upside down, how can I flip it back to its
--wheels before or after I use :MoveTo()?

--Thanks!!


mario118118
Report Abuse
mario118118 is not online. mario118118
Joined: 05 Jul 2012
Total Posts: 245
01 May 2016 04:34 AM
*cough*


mario118118
Report Abuse
Qraotic is not online. Qraotic
Joined: 12 Mar 2016
Total Posts: 63
01 May 2016 04:36 AM
BodyAngularVelocity?
http://wiki.roblox.com/index.php?title=API:Class/BodyAngularVelocity
Report Abuse
GetTheJobDone is not online. GetTheJobDone
Joined: 20 Apr 2016
Total Posts: 3008
01 May 2016 04:37 AM
You can use a BodyGyro for this, check the source code from USA groups' cars for help with this, or maybe the official ROBLOX cars.


Report Abuse
Jammer622 is not online. Jammer622
Joined: 19 Nov 2008
Total Posts: 1739
01 May 2016 04:58 AM
uhhh

model:SetPrimaryPartCFrame(model.PrimaryPart.CFrame * CFrame.Angles(0, 3.14, 0)) ?
im probably not right.
Report Abuse
Protoduction is not online. Protoduction
Joined: 27 Jul 2012
Total Posts: 1054
01 May 2016 06:14 AM
:SetPrimaryPartCFrame() Works, however because some numbers aren't stored perfectly in binary, the models parts might be offset by tiny amounts, causing little gaps/imperfections.

Instead, weld all parts to one main part, and set that parts CFrame

Alternativley, you could try rotating the primary part of the car by 180 degrees on the Y axis, and then use :MoveTo(); not sure if this will work however.
Report Abuse
Jammer622 is not online. Jammer622
Joined: 19 Nov 2008
Total Posts: 1739
01 May 2016 06:17 AM
bodygyros the way to go
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