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 > Create
Feature overview
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 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 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 affect the local scale of the GameObject |
|
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 children of the GameObject will be locked |
Important: When locking children, any GameObject with a Lockable Transform script will be ignored. |
How to use
Select the GameObject you wish to lock.
Set the Basic Lockable Transform preferences.
Locked and Unlocked GameObjects will be indicated in the Hierachy by the following icons.