get yaw axis steering||doc135433

September 20, 2022

Format

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

Description

Get the current yaw angle value.


Value Returned

type Description
float yaw angle


Code Samples

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

local rotationYaw = this:getRotationYaw()