Get pitch axis steering||doc135434

September 20, 2022

Format

 Object:getRotationPitch() 
  • The class to which the function belongs:Object

Description

Get the current pitch angle value.


Value Returned

type Description
float pitch angle


Code Samples

on the client side of the objectmount script, get the current pitch angle value of the object

local rotationPitch = this:getRotationPitch()