Jump to content
Search Community

bezier plugin and papervision camera

viaria test
Moderator Tag

Recommended Posts

Hi,

i am trying to make tween pv3d camera according to bezier path, but the camera doesnt have rotation property and give this error. how can i achieve this.

thanks.

 

Code:

timeline.append(new TweenLite(camera, 4, {zoom:600, bezierThrough:[{x:1000, y:0, z:0}, {x:0, y:0, z:1000}, {x:0, y:0, z:-6000}], orientToBezier:true}));

 

Error:

ReferenceError: Error #1056: cant make rotation property on org.papervision3d.cameras.Camera3D //i translated this can be wrong but this is the problem.

at com.greensock.plugins::BezierPlugin/set changeFactor()

at com.greensock::TweenLite/renderTime()

at com.greensock::TimelineLite/renderTime()

at com.greensock.core::SimpleTimeline/renderTime()

at com.greensock::TweenLite$/updateAll()

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...