Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IntegrateRotation(float)

Integrate the rotation using the specified angle change.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly PhysicsRotate IntegrateRotation(float deltaAngle)

Parameters

deltaAngle

The angle to integrate the rotation with, in radians.

Returns

Type

Description

PhysicsRotateThe integrated rotation.