0
$\begingroup$

I have a modeled SCARA robot in blender, this is moved through the use of a sensor and a python program. The problem now is that my inverse kinematics solved angle does not coincide in run in blender. One possible solution is that assignment of local coordinates in the joints.

Is there someone here can help me out with this problem? It will help a lot. Thanks!

$\endgroup$
2
  • $\begingroup$ Are you talking about Blender or about a BGE game? $\endgroup$
    – Monster
    May 22, 2018 at 7:05
  • $\begingroup$ Yes about bge game $\endgroup$ May 23, 2018 at 8:39

1 Answer 1

0
$\begingroup$

Within the BGE the (parent)-local coordinates can be read and set via KX_GameObject.localPosition.

When you want to read/modify the orientaion you can use KX_GameObject.localOrientation. Be aware it is a matrix.

If there is no parent, the local coordinates match the world coordinates.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .