Trouble setting Trail Controller animNode's rotation limits

Basically what title says.

In animation blueprint Trail Controller node has rotation limits parameters, but I have hard time figuring out how to use them. There is debug view of the limits (just like in Physics Editor’s constraints), but they don’t seem to correspond to what actually happening with the bones.

I’ve been going trough AnimNode_Trail.cpp and found out that:

  1. bLimitRotation (line 260) is only used with bReorientParentToChild set to True, which seems weird. Also, because parameters are still enabled to be edited and there is no tooltip, I think it’s a bug.

  2. I’m having hard time to understand what was the original intent with LimitRotation logic. Edit: I think I get it, but it still looks weird for me. Trying to work out a different solution.

  3. Everything (todo comment’s, wrong tooltip for bLimitRotation, debug params and of course blimitRotations doesn’t work) give impression that it’s still work in progress feature, but this code hasn’t been touched for a long time now.

It seems to be very obscure feature, so I couldn’t find anyone talking about that. But in case someone has working solution or maybe knows what I’m doing wrong, I’m posting this question here.

1 Like