|
| 11 Aug 2011 03:59 PM |
| Because when I use MoveTo and the model touches me, it goes on top of my head. |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 04:00 PM |
| model:MoveTo(CFrame.new(blah,blah,blah))? I'm not sure if it'll let you though. :/ |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 04:02 PM |
| Yeah I don't know either. I'm sending this from my computer that doesn't have a graphics card so I can't test it, but I want to know the answer for when I GET MY LAPTOP BACK *stares at baby brother* |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 04:05 PM |
model:MoveTo(CFrame.p)
~ Dumbledore ~ |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 04:06 PM |
Piedude, what does the p do? And do I do it like this:
model:MoveTo(CFrame.p(3,3,3) |
|
|
| Report Abuse |
|
|
| |
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 11 Aug 2011 04:13 PM |
| All the p does is return the position of the CFrame as a vector3. If you want to move it the way you're talking about, you'll have to recreate the function. |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 04:15 PM |
I'm very sorry, but I don't know what you mean by recreating the function. What should I do? |
|
|
| Report Abuse |
|
|
Spectrumw
|
  |
| Joined: 04 Aug 2009 |
| Total Posts: 13510 |
|
|
| 11 Aug 2011 04:17 PM |
@SDuke Is TranslateBy() locked? |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 04:17 PM |
| if you have a CFrame (all 12 values), the 'p' sub-property returns a vector3 from the CFrame. |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 11 Aug 2011 04:17 PM |
| Make your own MoveTo function that'll change the CFrame of every part based on the position of the PrimaryPart. |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 04:18 PM |
@Spec
The wiki says it is but I heard it's still usable. |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 11 Aug 2011 04:20 PM |
@spec
it should be, I believe Aaaboy97 found a way around that. |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 04:20 PM |
So basically,
CFrame.p(5,5,5,0,0,0,0,0,0,0,0,0)
works? |
|
|
| Report Abuse |
|
|
NatFan9
|
  |
| Joined: 23 Dec 2009 |
| Total Posts: 9059 |
|
|
| 11 Aug 2011 04:22 PM |
| My question is "Why does your baby brother have your laptop". |
|
|
| Report Abuse |
|
|
Spectrumw
|
  |
| Joined: 04 Aug 2009 |
| Total Posts: 13510 |
|
|
| 11 Aug 2011 04:22 PM |
@SDuke It's weird... I remember using it with a normal script some weeks ago. |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 04:23 PM |
local d = Instance.new("Dragger") d:MouseDown(model.MainPart,Vector3.new(0,0,0),model:GetChildren()) d:MouseMove((model.MainPart.Position-target.Position).unit) d:MouseUp() |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 11 Aug 2011 04:23 PM |
@bagwan
p is a property of CFrame, not a method
print(CFrame.new(1,2,3).p)
Output : >1, 2, 3
note that the positions will have a lot of numbers after it as well, most likely, because of floats. |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 04:24 PM |
@Nat
Well, I shouldn't have said BABY he's just, well, younger...by 5 years... |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 11 Aug 2011 04:27 PM |
@spec
I just tested it, and aparently it isn't locked anymore. I'll go take that warning off. |
|
|
| Report Abuse |
|
|
Spectrumw
|
  |
| Joined: 04 Aug 2009 |
| Total Posts: 13510 |
|
|
| 11 Aug 2011 04:32 PM |
function MCFrame(Model, cframe) Model:TranslateBy(Model:GetModelCFrame().p - cframe.p) end)
Maybe? |
|
|
| Report Abuse |
|
|
Spectrumw
|
  |
| Joined: 04 Aug 2009 |
| Total Posts: 13510 |
|
|
| 11 Aug 2011 04:32 PM |
| Delete that ')' at the last line o_e |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 11 Aug 2011 04:37 PM |
| before I could get your hat -_- I'll still try at the spellcasters thing >:O |
|
|
| Report Abuse |
|
|
Spectrumw
|
  |
| Joined: 04 Aug 2009 |
| Total Posts: 13510 |
|
|
| 11 Aug 2011 04:39 PM |
| It's all broken now D: but I got all the spells, I'm level 40. |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
| |
|