Writing a Pointer Plugin
function Main()
return Transform.identity
end-- Explicitly returns zero for position, rotation and scale.
return Transform:New(Vector3.zero, Rotation.zero, 0)
-- If you miss out rotation and/or scale they are assumed to be zero
return Transform:New(Vector3.zero)
-- Vector3.zero is itself shorthand for this:
return Transform:New(Vector3:New(0,0,0))
-- You can create a transform with only a position in a slightly shorter way:
return Transform:Position(0,0,0)
Last updated