How to load multiple object of 3ds in Away3D??

Software: Away3D 4.x

gOzaru, Newbie
Posted: 08 March 2013 03:28 AM   Total Posts: 13

Hi…
I am William.
I am a newbie.
I wanna know what steps should I do so I can load multiple object of 3ds in Away3D in order so I can drag and drop its object onto the scene?
Please anyone, help me.

   

yohann, Newbie
Posted: 08 March 2013 03:40 AM   Total Posts: 17   [ # 1 ]

Hi William, how far have you gotten? Have you been able to load anything from 3Ds Max into Away3D yet?

   

gOzaru, Newbie
Posted: 08 March 2013 05:28 AM   Total Posts: 13   [ # 2 ]

hi yohann, Ty for replying.
Yes, I have. I just follow the procedure provided by Away3D 4.0 example source. What I want to know is that how to load them and display them at the bottom stage where I can select, then drag and drop it into the scene directly??? Do you know it? So, I haven’t put them onto the scene yet. It needs user interaction to drag and drop the object. So when the user drop it, the object would be placed onto scene.

   

geekay, Jr. Member
Posted: 08 March 2013 06:01 AM   Total Posts: 40   [ # 3 ]

So, something like this?

http://i.imgur.com/nHr824B.jpg


If so, you will want to work with the 3d mouse events [see: http://away3d.com/tutorials/Introduction_to_Mouse_Picking ] (for mouse down, mouse move and mouse up events), and you will want to do a RaycastPicker [see: ]http://away3d.com/livedocs/away3d/4.1Alpha/away3d/core/pick/RaycastPicker.html] (to see, where in the 3D you placed the object… I would raycast test against a plane as a ground, where things will sit once you drag them there), then, it is just as simple as placing the dragging object to that given ‘picked’ location. That is one way to do it, that comes to mind.

   

gOzaru, Newbie
Posted: 08 March 2013 11:23 AM   Total Posts: 13   [ # 4 ]

Yes, geekay. That’s it.
I want it that way.
Ty. I will give it a try.

   

gOzaru, Newbie
Posted: 12 March 2013 11:03 AM   Total Posts: 13   [ # 5 ]

I don’t find any clue to solve my problem.
Can someone help me how to create something like this?
http://i.imgur.com/nHr824B.jpg

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X