spot9110
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 475 |
|
|
| 03 Jan 2017 06:14 PM |
Expanded Subject: Move Model/Part Based on PrimaryPart/Part's Angle (or where the top of part is facing)
Subject says it all.
For Example: if a part was placed in by default, have it move up
^. - move up ----- ----- -----
but it it was tilted, have it move up relative to top of part
----- < ----- - move at that angle (still moves up but now also slightly right due to the angle) ----- |
|
|
| Report Abuse |
|
|
spot9110
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 475 |
|
|
| 03 Jan 2017 06:19 PM |
| Bump. But I doubt anyone knows the answer. |
|
|
| Report Abuse |
|
|
spot9110
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 475 |
|
|
| 03 Jan 2017 06:24 PM |
| Bump Bump. Adding a 100R$ reward now |
|
|
| Report Abuse |
|
|
spot9110
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 475 |
|
| |
|
tbnj123
|
  |
| Joined: 29 Oct 2010 |
| Total Posts: 443 |
|
|
| 03 Jan 2017 06:27 PM |
primary part huh
http://wiki.roblox.com/index.php?title=API:Class/Model/SetPrimaryPartCFrame |
|
|
| Report Abuse |
|
|
spot9110
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 475 |
|
|
| 03 Jan 2017 06:28 PM |
| ^Thats not the part I'm wondering how to do. I need to know how to move it based on parts angle. |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2017 06:32 PM |
local pcf = game.Workspace.Part.CFrame
mov = 3
game.Workspace.Part.CFrame = pcf + pcf.upVector * mov
here go you welcome |
|
|
| Report Abuse |
|
|