PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

GetPivot

This function gets the pivot of a PVInstance. This is often used with PVInstance/PivotTo to move a model.

Returns

Return Type Summary

Code Samples


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.