Ok, strange things happen when I try to rotate limbs of a model with bones!
Let's say I have an arm with the following limbs:
Shoulder - Elbow - Hand
Shoulder is the parent limb of
Elbow, and
Elbow is the parent limb of
Hand.
Now I made a little test app that allows me to rotate limbs. The limbs are also being positioned, but before doing rotations.
Here comes the strange part: When I reach a certain angle for a limb (let's say the
Shoulder) all of its child limbs go crazy and spin very fast until they kind of vanish (move extremly far away)!
I'm using
dbRotateLimb to do the rotations.
What's the reason for this?
Has anybody ever had such problems?
Does EZRotate help here?
EDIT: Without the positioning it rotates all fine!
What might cause this problem of offset and rotate combined?
Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.