menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
Model cframe?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Model cframe?
SeanMichaell
Join Date: 2008-10-03
Post Count: 787
#63452847
Sunday, February 26, 2012 2:13 AM GMT
isn't there a function to move a model and its contests to a certain cframe? and if yes can someone tell me it and explain it?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
unholysoda
Join Date: 2010-05-15
Post Count: 9024
#63452981
Sunday, February 26, 2012 2:15 AM GMT
Model:MoveTo(Vector3.new(0,0,0)
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
SeanMichaell
Join Date: 2008-10-03
Post Count: 787
#63453050
Sunday, February 26, 2012 2:16 AM GMT
thankyou Very much
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
HatHelper
Top 25 Poster
Join Date: 2009-03-02
Post Count: 46305
#63453728
Sunday, February 26, 2012 2:27 AM GMT
That's more like .Position. This is CFrame: Model:TranslateBy(Vector3.new(0,10,0))
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
SeanMichaell
Join Date: 2008-10-03
Post Count: 787
#63453781
Sunday, February 26, 2012 2:28 AM GMT
wouldn't Model:TranslateBy(Vector3.new(0,10,0)) just move the model 10 studs upward?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
HatHelper
Top 25 Poster
Join Date: 2009-03-02
Post Count: 46305
#63453847
Sunday, February 26, 2012 2:30 AM GMT
Yes? MoveTo moves a model to a position, and if not sufficient space, it moves it up. Like a copying a brick. Try this: Model:TranslateBy(yourposition-Model:GetModelCFrame().p) That will move it to yourposition
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right