This function gets the pivot of a
PVInstance. This is often used with
PVInstance/PivotTo to move a model.
BasePart|BaseParts are both
PVInstance|PVInstances (“Position Velocity Instances”) and so both have this function.
Simple Character Teleportation
This code sample is a simple teleport script that moves your character 10 studs forwards in the direction you’re currently facing when you press the F key. It does so by getting the current pivot with
PVInstance/GetPivot and calling
PVInstance|PivotTo to move the character forwards.