|
| 29 Jun 2017 04:59 PM |
| I noticed that BodyAngularVelocity always applies velocity relative to world space, so a brick with a set velocity rotates about the world axes regardless of its orientation. Is there a way to make it work relative to an object so that regardless of a brick's orientation, it will be rotating about its own axes rather than the world axes? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 29 Jun 2017 05:02 PM |
| http://wiki.roblox.com/index.php?title=API:Class/VectorForce |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 29 Jun 2017 05:03 PM |
Woops just realized you said Body_Angular_Velocity. One sec |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 29 Jun 2017 05:03 PM |
| http://wiki.roblox.com/index.php?title=API:Class/Torque |
|
|
| Report Abuse |
|
|
samy22
|
  |
| Joined: 28 Sep 2008 |
| Total Posts: 2181 |
|
|
| 29 Jun 2017 05:07 PM |
| bodyangvel = part.CFrame:vectorToWorldSpace(Vector3 v3) |
|
|
| Report Abuse |
|
|
samy22
|
  |
| Joined: 28 Sep 2008 |
| Total Posts: 2181 |
|
| |
|
samy22
|
  |
| Joined: 28 Sep 2008 |
| Total Posts: 2181 |
|
| |
|
|
| 01 Jul 2017 04:50 PM |
| cntkillme, the Torque object is exactly what I am looking for. Thanks. Now to figure out how Attachments work... |
|
|
| Report Abuse |
|
|