I can not get this to work :(
Maya 2009
Opencollada 1.2.2
trunk/fp10/away3d
Cube1
Cube2
Cube3
Positioning of the cubes is always wrong. In both prefab and using collada
parser.
The only way to get the position correct is to "centering each cube to 0,0,0
and moving the vertices into position then parenting" ( in maya). Is that
how its supposed to be done? !
If I rotate one of the cubes in away then its children should follow. Why
doesn't that happen?
Could somebody post a dae with parenting like above so I can try and see
whats wrong.
On 21 May 2010 22:05, John Brookes <[email protected]> wrote:
> If by that you mean, say moving all the vertices to the edge of a plane to
> mimic a hinge on a door,without the need of a pivot, then yes :)
> Which just made me think.
> Usual way I would make the four cubes above is drag out the cubes in maya
> on the grid and then just parent them.
>
> Just tried creating and centering each cube to 0,0,0 and moving the
> vertices into position then parenting. That 'nearly' works. Loads in prefab
> and looks like it should.
> But if I try to rotate cube1, cube2 and cube3 dont follow :/
>
>
> On 21 May 2010 21:03, Michael Iv <[email protected]> wrote:
>
>> Yeah , basically rhe same . But do you know that in 3D soft you must
>> center the objects to the World Gizmo if you want them to be centered in
>> Away and offset if you need to offset them
>>
>>
>> On Fri, May 21, 2010 at 10:41 PM, John Brookes <[email protected]>wrote:
>>
>>> 2009 latest open collada
>>> Thought it might be baked transform but tried both with and without, get
>>> same.
>>> If I import that dae into max2009 it also looks as it should.
>>>
>>> Just checking but
>>> var loader:Loader3D = Collada.load("../src/sortCubes2.dae");
>>>
>>> loader.addOnSuccess(onSuccess);
>>>
>>> _view.scene.addChild(loader);
>>>
>>>
>>> Is how you load dae in away3d? Anything I'm missing.
>>>
>>> On 21 May 2010 19:50, Michael Iv <[email protected]> wrote:
>>>
>>>> I got you , I was thinking you made nesting of objects inside objects
>>>> .I do a lot of this stuff but usually with Max and it works fine . What is
>>>> the version of Maya ?
>>>>
>>>>
>>>> On Fri, May 21, 2010 at 9:21 PM, John Brookes <[email protected]>wrote:
>>>>
>>>>> "just select them all in Maya and export"
>>>>> Thats what it is, they are nested in maya, single dae.
>>>>>
>>>>> Why would I nest objects?
>>>>> So I can rotate/move/scale etc one and have the chidren follow.
>>>>> Same as addChild
>>>>>
>>>>> On 21 May 2010 17:26, Michael Iv <[email protected]> wrote:
>>>>>
>>>>>> Why do you need them to be nested inside each other ? If you need them
>>>>>> to be a group of objects just select them all in Maya and export . Or I
>>>>>> miss
>>>>>> something here?
>>>>>>
>>>>>>
>>>>>> On Fri, May 21, 2010 at 3:41 PM, John Brookes
>>>>>> <[email protected]>wrote:
>>>>>>
>>>>>>> Does away 3.5 support nested objects in dae?
>>>>>>>
>>>>>>> On 20 May 2010 14:54, John Brookes <[email protected]> wrote:
>>>>>>>
>>>>>>>> I have 4 cubes in a collada file from maya. Each one a child of the
>>>>>>>> other.
>>>>>>>> If I load this as a collada the rotation and centers of the children
>>>>>>>> are wrong.
>>>>>>>> I've tried setting centerMeshes true/false.
>>>>>>>> Also tried prefab, with and withour recenter models still same
>>>>>>>> issue.
>>>>>>>>
>>>>>>>> Papervision shows me the same as the scene in Maya.
>>>>>>>> Any ideas?
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Michael Ivanov ,Programmer
>>>>>> Neurotech Solutions Ltd.
>>>>>> Flex|Air |3D|Unity|
>>>>>> www.neurotechresearch.com
>>>>>> Tel:054-4962254
>>>>>> [email protected]
>>>>>> [email protected]
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Michael Ivanov ,Programmer
>>>> Neurotech Solutions Ltd.
>>>> Flex|Air |3D|Unity|
>>>> www.neurotechresearch.com
>>>> Tel:054-4962254
>>>> [email protected]
>>>> [email protected]
>>>>
>>>>
>>>
>>
>>
>> --
>> Michael Ivanov ,Programmer
>> Neurotech Solutions Ltd.
>> Flex|Air |3D|Unity|
>> www.neurotechresearch.com
>> Tel:054-4962254
>> [email protected]
>> [email protected]
>>
>>
>