Click here to Skip to main content
15,885,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone, I have good background in C# and I am still learning Blend.

I need your help with creating 3d interactive application (my senior project!)

For now , I have created two 3D objects in Zam3D ( a cube & a pyramid) I imported them to blend as viewport3D controls. What I want to learn is:

1- How to make the objects draggable? . I want to enable the user to move them within the window using the mouse.

2- How to bind some of the object properties to a control? The user can rotate the selected 3d object using a slider control for example.

3- How can I attach one object to another? For example , if the user drag the cube over the pyramid, they become one object and when the user click the detach button the two objects become separated.

I hope this explains better:

http://www.imgplace.com/viewimg829/7647/84program.jpg

The whole project is about building one 3d object from separated primitives by drag and drop. My supervisor wants me to relay on code instead of storyboards because they are not efficient especially when the application updates the gallery of primitives. He told me to think of it as a layout problem. Can anyone help me with the steps? And if you have a better approach to do that, then guide me please.

Thank you
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900