An Object can be created using the ThreeDFrame:newObject method:
-- creates a PineObject with the pineapple model at 1, 3, 7
local object = ThreeDFrame:newObject("pineapple", 1, 3, 7)


PineObject
[1]

Known as: x
Type: number

PineObject
[2]

Known as: y
Type: number

PineObject
[3]

Known as: z
Type: number

PineObject
[4]

Known as: rotationX
Type: number
the objects rotation around the x axis (you're probably not using this unless you want to attempt 3d physics)

PineObject
[5]

Known as: rotationY
Type: number
the objects rotation around the y axis (horizontal rotation)

PineObject
[6]

Known as: rotationZ
Type: number
the objects rotation around the z axis (vertical rotation)

PineObject
[7]

Known as: model
Type: CollapsedModel
the model that is rendered for this object

PineObject
[8]

Known as: modelSize
Type: number
largest distance of a vertex from the center of the model

PineObject:
setPos(x, y, z)

Returns: void
Name Type Description
x number new x position (optional)
y number new y position (optional)
z number new z position (optional)

PineObject:
setRot(rotX, rotY, rotZ)

Returns: void
Name Type Description
rotX number new rotation around the x axis in radians (optional)
rotY number new rotation around the y axis in radians (optional)
rotZ number new rotation around the z axis in radians (optional)

PineObject:
setModel(model)

Returns: void
Name Type Description
model string or Model if string, used as path to load the serialized Model