Aurarus
|
  |
| Joined: 22 Dec 2008 |
| Total Posts: 4761 |
|
|
| 05 Dec 2012 03:40 PM |
I'm aware of the MoveTo() method, but I want to know if there's a method which "Forces" a model to be in a certain position.
Because with MoveTo(), the model teleports up if something is in the way.
Thanks! |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 05 Dec 2012 04:03 PM |
| Use CFrame, but make sure the models are welded to the Part. |
|
|
| Report Abuse |
|
|
Aurarus
|
  |
| Joined: 22 Dec 2008 |
| Total Posts: 4761 |
|
|
| 05 Dec 2012 04:04 PM |
Let's say welding all the parts to the model would cause massive lag, and/or not be a viable option for what I'm trying to accomplish.
|
|
|
| Report Abuse |
|
|
cygorx
|
  |
| Joined: 09 Nov 2012 |
| Total Posts: 668 |
|
|
| 05 Dec 2012 04:11 PM |
give the parts some love. the parts love you. wielding them is highly abusive, and could hurt them. try glue. i'm kidding. use rotational matrices and make a constant distance between all of them, it's a lot easier than you think. |
|
|
| Report Abuse |
|
|
Aurarus
|
  |
| Joined: 22 Dec 2008 |
| Total Posts: 4761 |
|
|
| 05 Dec 2012 05:20 PM |
| If it's so easy, why don't you care to explain it to someone who has never heard of it before? :o |
|
|
| Report Abuse |
|
|
|
| 05 Dec 2012 05:22 PM |
for i,v in pairs(game.Workspace.Model:GetChildren()) do if v:IsA("Part") then v.CFrame = CFrame.new(0,0,0) end end
Error 407:["Siggy.exe not found."] Please try again in a few moments. |
|
|
| Report Abuse |
|
|
Aurarus
|
  |
| Joined: 22 Dec 2008 |
| Total Posts: 4761 |
|
|
| 05 Dec 2012 05:40 PM |
That won't work for what I'm trying to do.
It's also just going to CFrame everything into one spot... |
|
|
| Report Abuse |
|
|
|
| 05 Dec 2012 05:41 PM |
Then what are you trying to do...
Error 407:["Siggy.exe not found."] Please try again in a few moments. |
|
|
| Report Abuse |
|
|
Aurarus
|
  |
| Joined: 22 Dec 2008 |
| Total Posts: 4761 |
|
|
| 05 Dec 2012 05:45 PM |
I have a list of models in Lighting which we will call "ModelList" for the time being.
When the game starts, at 3 different points, a random model from "ModelList" is cloned and put into that point.
But it has to be specific on where the model is put in.
|
|
|
| Report Abuse |
|
|