MoveTo (Method)/model: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
added
>Camoy
fixed
Line 1: Line 1:
{|
<onlyinclude>{{Method|name = MoveTo
|<onlyinclude>{{Method|name = MoveTo
|arguments = [[Vector3]] '''Destination'''
|arguments = [[Vector3]] '''Destination'''
|returns = [[nil]]
|returns = [[nil]]
|description = Moves the object and all children to the destination.
|description = Moves the object and all children to the destination.
|object = [[Model]], [[Workspace]]
|object = [[Model]], [[Workspace]]
|}}</onlyinclude>
}}</onlyinclude>
|}
{{clear floats}}
== Description ==
== Description ==
The Model's [[PrimaryPart]] is moved to Destination. The remaining parts maintain there relative positions.
The Model's [[PrimaryPart]] is moved to Destination. The remaining parts maintain there relative positions.

Revision as of 16:07, 30 August 2010

MoveTo( Vector3 Destination )
Returns nil
Description: Moves the object and all children to the destination.
Member of: [[RBX.lua.Model, Workspace (Object)|Model, Workspace]]

Description

The Model's PrimaryPart is moved to Destination. The remaining parts maintain there relative positions.