# How to render a robotic arm in Unity?

As part of a research project, I'm creating synthetic data, using the Unity engine. I have the final pose of a robotic arm (6 params: 3 for orientation, 3 for location/position), and also a .ply file for the mesh. Is there any way I can use this information directly to render an image in Unity?

Update:

I was thinking of the following approach (though I am not sure how well this will translate to Unity). I have the Camera transform, so I can have the coordinates of the end effector in the Camera frame. My camera and light source are the same, so I was thinking that in a renderer (say Unity), I'd fix the origin of the 3D world as the camera+light point, and then if I could somehow input the end effector coordinates (x,y,z and thetax, thetay, thetaz) in the frame, that would align the arm in the camera (final position) as I need it, and then I'd render the image.

Also as of now, my ply file is really simple and has only 3 joints (end effector, of course, being the end point of the last). Is this approach viable in Unity?

.ply File, Image

• you may get more people to read your post if you use a strategically placed typo ... accidentally add a y to arm in the title ;) Jun 26 '19 at 6:24
• So do you want to render the robot pose i.e. get an image of how the robot looks or do you want to render the image seen by the camera placed at the end of the robot?
– 50k4
Jun 27 '19 at 8:44
• Camera and light are fixed (in the 3d world origin). I want to move the robot arm in different orientations, locations, and get images of how that looks like from the fixed camera perspective Jun 27 '19 at 21:39