Sprite3D faces camera’s axis, not the camera itself

Software: Away3D 4.x

Tricky Widget, Newbie
Posted: 11 June 2012 08:17 PM   Total Posts: 19

I’m using 4.0 and have a Sprite3D.  It dutifully moves with the camera, but not in the way described.  It always faces the local axis of the camera instead of the camera itself.  So if the camera happens to be looking directly at it, then it does face the camera.  But if the camera is facing elsewhere, then so is the sprite.

In other words, I get this:

.                                        \
---S---                ---S---            S
   
|                      |             /  \

   
|                |             \  /
---
C---          ---C---           C
                                    \ 

instead of this:

.                        \                \
---S---                   S                S
   
|                    /  \             /  \
  
   
|                |              \  /
---
C---          ---C---             C
                                    

Anybody know if there’s a way to change it to the latter without manually managing it?

   

Richard Olsson, Administrator
Posted: 16 June 2012 11:38 AM   Total Posts: 1192   [ # 1 ]

This might be a bug. If you can file an issue report over at http://github.com/away3d/away3d-core-fp11/issues and supply a test case that reproduces the issue that would be great!

   

Tricky Widget, Newbie
Posted: 16 June 2012 01:48 PM   Total Posts: 19   [ # 2 ]

Done!  smile

https://github.com/away3d/away3d-core-fp11/issues/284

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X