x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Removing roll from rotator in AnimBlueprint.

We have hand rotation controlled by a motion controller. In order to improve the deformation of the character we want to remove\adjust the roll from the input rotation, and apply the modified rotation to the wrist bone using a Transform (modify) bone in the AnimBlueprint. When removing the roll, certain rotation values cause the target bone to flip.

Is there any suggestions\tutorials\examples of how to setup this type of control on a character?

Any help is highly appreciated. Thanks!

Product Version: UE 4.9
Tags:
more ▼

asked Jan 07 '16 at 08:07 PM in Using UE4

avatar image

Jesusbttf
6 1 2 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

My guess is you're not using quaternion math to calculate the roll delta. If you're just using rotators, you could get wonky results depending on the range of motion. This entry talks more about that approach:

https://answers.unrealengine.com/questions/17733/quaternion-in-blueprints.html

more ▼

answered Jan 07 '16 at 08:15 PM

avatar image

Ryan Darcey
836 47 45 70

avatar image Jesusbttf Jan 07 '16 at 09:39 PM

Thank you! So If I understand the link, it could be done, but the tools currently inside in an AnimBlueprint are not enough.

avatar image Ryan Darcey Jan 07 '16 at 09:43 PM

From the link:

We did however expose several maths functions which convert to quaternion under the covers (e.g. 'Combine Rotators' and 'Negate Rotator' nodes). You can also use a Transform which stores the rotation as a quaternion internally.

I would see if "Combine Rotators" does what you need, otherwise you can try using Transform operations (eg. get the current transform, concatenate the delta rotation onto that transform, then apply that new transform to the object...I think you can do that in blueprints?). I can try to provide a sample screenshot later if you don't sort it out.

avatar image Jesusbttf Jan 08 '16 at 08:26 PM

I have tried "Combine Rotators" and also transform operations, but both do not output the desired results. I am having trouble figuring out how to properly get the delta roll which I can then use to remove it from the source input. It falls apart for me when the pitch gimbal locks.

This Link is talking about very similar problem but no solution is mentioned.

avatar image Ryan Darcey Jan 09 '16 at 02:35 AM

Unfortunately, I'm not familiar enough w/ Blueprints to help you out further :/ It Sounds like maybe you don't have the tools exposed there to do what you want. I've seen more than a few posts about Gimbal Lock here on the forums. Not sure why quaternion operations aren't available in Blueprints...or if not that, other wrappers to perform these operations.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question