Document toolboxDocument toolbox

2023.1.116.1 Lockable Transform



Overview

The Basic Lockable Transform enables you to lock properties of GameObjects.

Adding a Lock Position to a GameObject


Where to find

The Basic Lockable Transform can be found under Utilities > Scene/Hierarchy in the Prespective Menu.


Feature overview

 

Basic Lockable Transform

 

Basic Lockable Transform

 

Lock Position

Lock position (x,y,z)

NONE: Position is not locked.
LOCAL: Local position is locked, GameObject can still be moved by parent.
GLOBAL: Local position is locked, GameObject cannot be moved by parent.

Lock Scale

Lock scale(x,y,z)

NONE: Scale is not locked.
LOCAL: Local scale is locked, GameObject can still be scaled by parent.
GLOBAL: Local scale is locked, GameObject cannot be scaled by parent.

Known issues: GLOBAL still affects local scale of GameObject

Lock Rotation

Lock rotation (x,y,z)

NONE: Rotation is not locked.
LOCAL: Local rotation is locked, GameObject can still be rotated by parent.
GLOBAL: Local rotation is locked, GameObject cannot be rotated by parent.

Lock Selection

Lock selection behaviour of GameObject

NONE: Selection is not locked.
SELECT_ONLY_SELF_WHEN_MULTISELECTING: When multiple GameObjects are selected, the affected GameObject will be selected.
SELECT_NOTHING_WHEN_MULTISELECTING: When multiple GameObjects are selected, the affected GameObject will not be selected.

Lock Children

Lock child behaviour of GameObject

NONE: Only affected GameObject is locked.
LOCK_SELF_AND_CHILDREN: Children of GameObject will be locked.
LOCK_ONLY_CHILDREN: Only childern of the GameObject will be locked.

Important: When locking children, any GameObject with a Lockable Transform script will be ignored.


How to use

  1. Select the GameObject you wish to lock.

  2. Set the Basic Lockable Transform preferences.

  3. Locked and Unlocked GameObjects will be indicated in the Hierachy by the following icons.

 

Prespective Documentation