seanb117
|
  |
| Joined: 03 Feb 2010 |
| Total Posts: 1020 |
|
|
| 27 Nov 2014 07:35 PM |
I'm attempting to make one brick parallel with another, making it mimic any rotation that the MainBrick may under come. It's just for experimental suspension purposes for now, since roblox doesn't have any actual springs.
======= \ / =====
|
|
|
| Report Abuse |
|
|
seanb117
|
  |
| Joined: 03 Feb 2010 |
| Total Posts: 1020 |
|
| |
|
seanb117
|
  |
| Joined: 03 Feb 2010 |
| Total Posts: 1020 |
|
|
| 27 Nov 2014 07:59 PM |
| Reworded Question: How would I get one brick, to mimic the orientation of another brick? Like if one brick leans left, the other will follow suit. |
|
|
| Report Abuse |
|
|
seanb117
|
  |
| Joined: 03 Feb 2010 |
| Total Posts: 1020 |
|
|
| 27 Nov 2014 08:43 PM |
baseo = game.Workspace.BaseObject
while true do wait(0.3) script.Parent.BodyGyro.cframe = CFrame.new(Vector3.new(0,0,baseo.Rotation.Z)) end
Tried that. Doesn't work.
Gonna try some other ways. (Never attempting this before and can't find anything that even is similar to this) |
|
|
| Report Abuse |
|
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
|
| 27 Nov 2014 08:46 PM |
Haven't work with bodypositioners in a long time, so don't get me wrong but can't you just use the .changed event and check for position and rotation? |
|
|
| Report Abuse |
|
|
seanb117
|
  |
| Joined: 03 Feb 2010 |
| Total Posts: 1020 |
|
|
| 27 Nov 2014 09:02 PM |
| Not sure what you mean but I figured it out. If anyone needs me to post the script, i will. |
|
|
| Report Abuse |
|
|