简体   繁体   中英

How do I move a mesh in Roblox Studio

So I am trying to make a car spawner in roblox studio but I don't know how to move the mesh. I think I can use a pivot but I don't know how.

google "roblox mesh"

click first hit: https://developer.roblox.com/en-us/articles/Mesh-Parts

read.

"This will insert aMeshPart instance with your mesh applied".

Further down clickhttps://developer.roblox.com/en-us/articles/positioning-objects

The global position of an object is determined by its three Position properties: X, Y, and Z. This position is based on the center of the object.

To position an object in Roblox Studio, use the Move tool located in the Home or Model tabs. Alternatively, you can set the Position properties directly in the Properties window.

Make sure you also readhttps://developer.roblox.com/en-us/api-reference/class/MeshPart

Now you know that your mesh results in a MeshPart which happens to have a Position property which determins the position of the MeshPart which your mesh is applied to.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM