longbow12
|
  |
| Joined: 20 Sep 2008 |
| Total Posts: 565 |
|
|
| 20 Nov 2013 02:43 PM |
As the subject fields says, any other "body" classes you could think of that would help me achieve this would help. bp1.position = vip.Character.Torso.Position + Vector3.new(0,0.5,4)
with that line there a brick is 4 studs in front of me constantly, basically I want the brick to orbit around me aswell. Any1 know how this would be achieve? I believe CFraming causes some issues. |
|
|
| Report Abuse |
|
|
longbow12
|
  |
| Joined: 20 Sep 2008 |
| Total Posts: 565 |
|
| |
|
longbow12
|
  |
| Joined: 20 Sep 2008 |
| Total Posts: 565 |
|
| |
|
|
| 21 Nov 2013 12:04 PM |
| CFraming is your best bet imo.. |
|
|
| Report Abuse |
|
|
longbow12
|
  |
| Joined: 20 Sep 2008 |
| Total Posts: 565 |
|
|
| 21 Nov 2013 12:23 PM |
| I thought it would be, I think CFrame is glitchy though. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2013 12:26 PM |
| No it isn't, it is the person scripting it. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 21 Nov 2013 01:01 PM |
@flatline. You are truly obsessed with CFrame..
@op
t = 0
while true do bp1.position = vip.Character.Torso.Position + Vector3.new(math.cos(math.rad(t))*4,0.5,math.sin(math.rad(t))*4) t=t+5--change this number to bigger for faster orbitting wait(1/30) end
Should do stuff
|
|
|
| Report Abuse |
|
|
|
| 21 Nov 2013 02:01 PM |
| @Zars this is probably true. But, I rarely touch parts when scripting as I like to do other things so not really. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 21 Nov 2013 02:36 PM |
| I just saw that you mentioned CFrame in several threads, where it wouldn't fit so well. |
|
|
| Report Abuse |
|
|
longbow12
|
  |
| Joined: 20 Sep 2008 |
| Total Posts: 565 |
|
|
| 21 Nov 2013 03:36 PM |
| Thank you zars for replying, not appreciating flat's attitude but there we go. |
|
|
| Report Abuse |
|
|