|
| 27 Nov 2011 10:05 PM |
is there a way to set body gyro so it doesn't just afce forwards? lke if i wanted it to point at a certain position? |
|
|
| Report Abuse |
|
|
| |
|
RoflBread
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
|
| 28 Nov 2011 01:20 AM |
Cframe property is what you need.
http://wiki.roblox.com/index.php/Cframe_%28Property%29 |
|
|
| Report Abuse |
|
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
|
| 28 Nov 2011 05:36 AM |
partA = The part the BodyPosition is in partB = What you want it to point to
BodyGyro.cframe = CFrame.new(partA.Position, partB.Position)
Note that you can replace "partB.Position" with a Vector3 value. |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Nov 2011 06:19 PM |
if i did replace the PartB.position with a vecotr 3 would i put
(0,0,0) or Vector3.new(0,0,0) |
|
|
| Report Abuse |
|
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
| |
|
| |
|