PVInstance
PVInstance : Instance
Overview
PVInstance is designed for handling Lua scripts and 3D transformations. It includes properties like Origin and PivotOffsetCFrame, and provides functions to update and apply these transformations.
Description
The class offers several APIs for handling transformations and pivot offsets. Key properties include Origin and PivotOffsetCFrame, which allows manipulation of the relative positioning of an actor's pivot point.
Properties
Origin
CFrame
Origin is a property of type CFrame that represents the transformation frame (position and orientation) of an object in the scene.
Code Samples
PivotOffsetCFrame
CFrame
PivotOffsetCFrame is a property of type CFrame representing the offset of the pivot point from the origin in a coordinate frame.
Code Samples
Methods
PivotTo
The PivotTo method adjusts the orientation of an object to align its forward direction with a specified target frame
Parameters
CFrame
InTargetCFrame
Return
void