camera on robot arm

Blitz3D Forums/Blitz3D Programming/camera on robot arm

Why don't you parent the Camera to the Wrist.

For example :-

camera2pivot=CreatePivot(wrist)

You can delete :-
loc_x#=EntityX#(wrist):loc_y#=EntityY#(wrist):loc_z#=EntityZ#(wrist);'''''''''i tried this PositionEntity camera2,loc_x#,loc_y#,loc_z#;'''''''''''''to position the camera

Now the camera will always move with the wrist and point at the pivot.