471,317 Members | 1,506 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,317 software developers and data experts.

[directx] Mesh on mesh

Hello everybody,

i want to create some kind of robot arm, it's need to be very simple,
so i decided to create this from cubes - few of them i want to
transform separetaly from another. I know how to create this cube, how
to transform rotate in different ways - buffers, vertices, meshes. I'd
like to use mesh, it's the simplest way but i don't know how to create
one mesh on the exact position on another. And somehow stick them
I had an idea like this:

dev.Transform.World = Matrix.Translation(5.0f, 18.0f,
dev.Transform.World = Matrix.Translation(5.0f, 10.0f,
dev.Transform.World = Matrix.Translation(5.0f, 6.0f, 4.0f);

(translation is a size of prevoius box)
But it's not working any way i'd like to.
Any ideas? Any sample code, could help me?

Jan 21 '06 #1
0 1350

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Harvey Cohen | last post: by
1 post views Thread by Piotrek Alchemik | last post: by
14 posts views Thread by Jessica Weiner | last post: by
1 post views Thread by A. Gaubatz | last post: by
2 posts views Thread by Kasya | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.