|
| 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 |
|
|
| |
|
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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| Joined: 19 Nov 2008 |
| Total Posts: 1739 |
|
| |
|