Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I use Offset?

Asked by
neoG457 315 Moderation Voter
8 years ago
Shot.CFrame = Player.Character.Torso.CFrame.new(8, 0, 0)

I'm a little confused as to what "Offset" does, all the wiki says is: The distance of which an object moves off of a point. Please explain to me what it does and how to use it.

1 answer

Log in to vote
0
Answered by
yelsew 205 Moderation Voter
8 years ago

Offset is literally just that. But for a little more clear example, Offset is how far the visible part of the mesh is from the actual mesh itself. The visible part (depending on the offset) will have no collision, but the mesh itself will have collision depending on the CanCollide option.

0
That still didnt explain how to use it. neoG457 315 — 8y
0
It is how far away the block will be based on coordinates. You can also test it out in studio to see what it does. yelsew 205 — 8y
0
Thats the the thing, how do I test it in studio? I have no idea how to use it. neoG457 315 — 8y
0
Put a BlockMesh into a brick, and then go into the properties of that BlockMesh, and change the offset to anything. For example, do 2,2,2 yelsew 205 — 8y
Ad

Answer this question