Skip to content

TweenPosition

mrlinds edited this page Sep 28, 2018 · 3 revisions

About

Tween Position will adjust the local postion of objects

All tween classes use the same set of common settings.

See page : Common Settings

Parameters

Target Transform

If left empty, will be set to the transform of the game object that the component is on, otherwise will set position of specified transform.

Start Relative

if selected, specified position values will be considered an addition to the initial local position of the targeted transform on script Awake

End is Relative Offset From Start

if selected the last position in the array will be considered an offset from initial position

Add Random to Targets

(default x=-1 y=-1 z=-1) Any value less than or equal to '0' will be considered 'off' for that axis. Will +/- value to the specified positions, random per loop.

Move Positions

Array of positions over which to lerp All positions are applied in local object space.

Lindsay Jorgensen lindsay (at) radialgames (dot) com or twitter @mrlinds

Clone this wiki locally