CFrame Bindings

CFrame stands for Coordinate Frame. This is a userdata that defines where an object is, and its orientation (how it is rotated). Position is part of a CFrame, along with a rotation matrix that defines how the object is oriented.

Methods
All methods will not alter the original CFrame.

Usage
Offset objects to a given location: -- This script is attached to the player local player = script.Owner -- Create a CFrame with the given starting position local objectSpace = CFrame.Create(0, 0, 1) -- Convert the CFrame to world space local worldSpace = player.Transform.CFrame * objectSpace -- Spawn a block in the level and position it with the given world space CFrame local block = Object.Create("Block", level) block.Transform.CFrame = worldSpace