johnatm / itween

Automatically exported from code.google.com/p/itween
1 stars 2 forks source link

moveAdd isLocal=true does not work #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
iTween.moveAdd(gameObject,{"z":10,"isLocal":true}) 

This code still moves the gameObject along the world's axe z, and not along the 
local axe z.

Reporter : Marek.

Original issue reported on code.google.com by ledvin...@gmail.com on 13 Jun 2010 at 4:08

GoogleCodeExporter commented 8 years ago
Thanks Marek.  

This is fixed in the C# version of 2.0 and MoveAdd() and MoveBy() now use a 
"space" property while MoveTo() and MoveFrom() still utilize "islocal".  

Note this is only in the C# 2.0 version.  Since the .JS version will not be 
released in a 2.0 official version take a look at C# 2.0 for current progress 
and direction of the project.

Original comment by pixelplacement on 13 Jul 2010 at 7:01