Hola, amigo... :D
You can access the tyres, by using "getChildByName" after your model has
been loaded. For example :
var leftTyre:Mesh = myCarModel.getChildByName("leftTyre") as Mesh;
leftTyre.rotationX += 1;
On Fri, Jan 7, 2011 at 6:27 PM, amigo <[email protected]> wrote:
> Amazing this Prefab.
> I allready have my car with four wheels independent from Prefab loaded
> correctly in as3, after a few issues..=)
>
> I´m trying of course that the tyres roll and turn but i don´t find how
> refer to that object. The car.as is already following the physics, but
> how can be done to the tyres?.
>
> This is going smooth and easy, thanks to all..
--
Aji Pamungkas