johnatm / itween

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

Local MoveTo path orientation issue #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Define MoveTo with a Path, isLocal and orienttopath is set to true
2. Run, and Object with orient itself to the world path coordinates, not local.
3.

What is the expected output? What do you see instead?
Object should orient to local path coordinates

What version of the product are you using? On what operating system?
iTween 2.0.13, Mac osx

Please provide any additional information below.
None to give.

Original issue reported on code.google.com by tpar...@me.com on 15 Nov 2010 at 5:46

GoogleCodeExporter commented 8 years ago
Would "isLocal" actually apply to "path" usages since the path exists in world 
space when it is plot anyway?  Can you let me know if this is worth 
investigating since it should always move to the actual positions that the path 
is describing. 

Original comment by pixelplacement on 6 Jan 2011 at 5:29

GoogleCodeExporter commented 8 years ago
Apologies if this has been addressed elsewhere, but I am still seeing this as a 
defect/bug for a particular usage case.  

I have an FPS controller with a sword. I want to use a MoveTo with a path to 
define the arc of my sword when I swing it. For this to work, the path of the 
swing needs to move always in the space of its parent. This is the expected 
behavior when I set isLocal on this MoveTo: the sword moves with the player (as 
it is a child of the FPS controller) and swings in a proper arc through the 
points of the path. 

The behavior I'm seeing is the sword moving 100s of units away from the FPS 
controller and performing the swing there. Or staying in one place for the 
duration of the swing if not using isLocal (though this is expected.)

Thanks! 

-Steve 

Original comment by ssw...@enemyairship.com on 3 Sep 2012 at 9:39

GoogleCodeExporter commented 8 years ago
Still an issue, also happens using "looktarget".

Original comment by Matt.Dal...@gmail.com on 13 Nov 2014 at 5:25