Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PlatformEffector2D.rotationalOffset

Switch to Manual
public float rotationalOffset;

Description

The rotational offset angle from the local 'up'.

Rotating the local 'up' allows both the surface and sides to be rotated in local-space.