johnatm / itween

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

Add look axis usage properties into look methods so users can choose which vector direction will be used to look with #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Add look axis usage properties into look methods so users can choose which 
vector direction will be used to look with

Original issue reported on code.google.com by pixelplacement on 10 Aug 2010 at 4:42

GoogleCodeExporter commented 8 years ago
I  needed the feature as well. I have implemented it.

Attached the solution.

Original comment by leslie.g...@gmail.com on 29 Oct 2010 at 5:15

Attachments:

GoogleCodeExporter commented 8 years ago
Here is the usage (for 2D senario):

Lock the z-axis & change the up vector to "down" which then only rotates on the 
z-axis.
iTween.Hash(..., "up", Vector3.down, "axis", "z", ... )

Original comment by leslie.g...@gmail.com on 29 Oct 2010 at 5:18

GoogleCodeExporter commented 8 years ago
Awesome!  I'll dig into this when I can and get it added!

Original comment by pixelplacement on 29 Oct 2010 at 2:47

GoogleCodeExporter commented 8 years ago
Implemented

Original comment by pixelplacement on 30 Oct 2010 at 5:10