if you want to set absolute scale, you can use the scaleX/scaleY adn scaleZ
proprties

the scale() method applies a further scale to an already scaled object, in
much the same way that scale() works on a native matrix object

Rob

On Tue, Aug 11, 2009 at 9:02 AM, Fabrice3D <[email protected]> wrote:

>
> The mesh.geometry object holds a scale variable. Allowing fast non
> destructible scaling options.
> If you want to apply a scale at vertex level, just parse the vertices array
> and multiply the components.
>
> Fabrice
>
>
> On Aug 11, 2009, at 5:05 AM, cellis wrote:
>
>
>> i thought calling .scale() was setting it to that value, not
>> transforming it by a percentage??
>>
>> On Aug 10, 9:41 pm, "David Parks" <[email protected]> wrote:
>>
>>> I believe the scale is always relative to the current size. So you
>>> reduced
>>> it by 20% in the first round, then you reduced it by 25% in the second
>>> round.
>>> Dave
>>>
>>> -----Original Message-----
>>> From: [email protected] [mailto:[email protected]]
>>> On
>>>
>>> Behalf Of cellis
>>> Sent: Tuesday, August 11, 2009 4:12 AM
>>> To: away3d.dev
>>> Subject: [away3d] scaling up and down properly
>>>
>>> Hello
>>>
>>> i am trying to scale a mesh like this
>>>
>>> scale = .2;
>>> mesh.scale(scale);
>>>
>>> this works, but when i do this
>>>
>>> scale += .05
>>> mesh.scale(scale);
>>>
>>> it is smaller. Why?
>>>
>>
>


-- 
Rob Bateman
Flash Development & Consultancy

[email protected]
www.infiniteturtles.co.uk
www.away3d.com

Reply via email to