|
| 17 May 2015 04:36 PM |
| Ok so i have a script when you click with a tool it spawns a circle where your torso is. The problem is if you are near a wall it will spawn the circle above the wall (so it doesnt touch the wall) Even though I have can collide off on the circle that spawns, any help? |
|
|
| Report Abuse |
|
|
suremark
|
  |
| Joined: 13 Nov 2007 |
| Total Posts: 6315 |
|
|
| 17 May 2015 04:54 PM |
| You need to set the circle's position by CFrame, and not Position. |
|
|
| Report Abuse |
|
|
|
| 17 May 2015 04:56 PM |
| COuld i set the CFrame the same place as the tool parents torso? |
|
|
| Report Abuse |
|
|
suremark
|
  |
| Joined: 13 Nov 2007 |
| Total Posts: 6315 |
|
|
| 17 May 2015 04:57 PM |
| Yep, that'd be the way to do it. Is the "circle" just a single part, or is it a collection of parts? |
|
|
| Report Abuse |
|
|
|
| 17 May 2015 05:07 PM |
just one part, so would i do v = Instance new ("CFrameValue") v.value = script.Parent.Parent (character) .Torso.Position
? then cframe to that value? i know i didnt use proper caps and stuff |
|
|
| Report Abuse |
|
|
| |
|