Jump to content
Search Community

Five3D + Tweenlite another Transform Around Point problem

aaarghhh test
Moderator Tag

Recommended Posts

Hello, i have bought the very green membership account !

I' trying to use the Transform Around Point plugin with a Five3D' sprite3D class.

 

I want to rotate a sprite3d around a point but seem that in the onInitTween event there is a call to _target.globalToLocal . Class Sprite3d don't have that method implemented... better it's overrided with an exception throw.

 

Do u know any walkaround?

Thank You a lot.

Giacomo.

Link to comment
Share on other sites

Sorry, but if the object isn't a DisplayObject (the docs say that's what TransformAroundPointPlugin requires) and has no globalToLocal() method, it won't work (as you discovered) :). Maybe you could wrap your object inside a Sprite or something and tween that? I'm not sure - I'm not a Five3D guy.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...