You can move the pivot like

myObject.movePivot(newX,newY,newZ);

is this what you needed?

-Pete

On Wed, Sep 23, 2009 at 5:16 AM, enguer <[email protected]> wrote:

>
> Hi again :)
> Property pushback / push worked well for green plane, but i've again
> problems with z-sorting :
> Is there a way to move pivot dynamically inside his container to use
> with spriterendersession ?
> I would use this for buildings in order to eliminate intersection
> between buildings and front scene objects.
>
> the pivot should place nearest to the camera inside his objects only
> on x and z axis.
>
> Have you an idea about this or should i create a custom script ?
>
>
> On 22 sep, 18:35, enguer <[email protected]> wrote:
> > Thank you again, i will give the official link here when we put it
> > online :)
> >
> > On 22 sep, 17:28, Peter Kapelyan <[email protected]> wrote:
> >
> > > You are welcome! Your website is probably the most amazing use of
> away3d
> > > I've seen yet, and I'm sure you'll be winning some awards for it.
> >
> > > Can you let us know when your website is live, please?
> >
> > > -Pete
> >
> > > On Tue, Sep 22, 2009 at 10:48 AM, enguer <[email protected]> wrote:
> >
> > > > Thank you for your compliment and your good tip :p
> >
> > > > On 22 sep, 16:24, Peter Kapelyan <[email protected]> wrote:
> > > > > Did I mention it looks super awesome? :)
> >
> > > > > Also you can use:
> >
> > > > > myThinginBack.pushBack=true;
> >
> > > > > And if those things don't help, theres more ways to do sorting, so
> let us
> > > > > know if you have problems!
> >
> > > > > -Pete
> >
> > > > > On Tue, Sep 22, 2009 at 10:04 AM, enguer <[email protected]>
> wrote:
> >
> > > > > > WOW !! it works !!
> >
> > > > > > thanks a lot , now i need to set this on other bugs :)
> >
> > > > > > On 22 sep, 15:50, Peter Kapelyan <[email protected]> wrote:
> > > > > > > Try this:
> >
> > > > > > > myGreenPlane.pushFront=true;
> >
> > > > > > > It looks really good!
> >
> > > > > > > Let me know if it works for you.
> >
> > > > > > > -Pete
> >
> > > > > > > On Tue, Sep 22, 2009 at 9:37 AM, enguer <[email protected]>
> > > > wrote:
> >
> > > > > > > > Hi all,
> > > > > > > > I have a little problems with a plane against a wall. this
> plane is
> > > > > > > > distant from about 5 px.
> > > > > > > > Some parts of this plane is disappearing.
> > > > > > > > You can see this plane (the green one) on this url :
> > > > > > > >http://bandit3.kob-eye.com/index2.html
> >
> > > > > > > > A triangle disapear at the top left of this green plane, when
> you
> > > > > > > > place your mouse at the top left of your screen.
> >
> > > > > > > > if someone could give an advice ?
> >
> > > > > > > --
> > > > > > > ___________________
> >
> > > > > > > Actionscript 3.0 Flash 3D Graphics Engine
> >
> > > > > > > HTTP://AWAY3D.COM
> >
> > > > > --
> > > > > ___________________
> >
> > > > > Actionscript 3.0 Flash 3D Graphics Engine
> >
> > > > > HTTP://AWAY3D.COM
> >
> > > --
> > > ___________________
> >
> > > Actionscript 3.0 Flash 3D Graphics Engine
> >
> > > HTTP://AWAY3D.COM
>



-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to