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"

How to rig cartoon (non-spherical) eyes

I'm making a cartoony character with eyes that can roll around, but the eyeball shape appears "flattened" from front to back no matter what direction the eyes are pointing. (See first two images) In a 3d package this is done with a lattice or mesh deformer. But in UE4, I know of no such real-time deformation.

I tried parenting each rotating bone under a parent bone that was then scaled by 50%, hoping that the child bone (and the eyeball meshes skinned to them) would inherit the scale of their parent bones. But instead, as seen in pic #3, this doesn't work in UE4.

The scale is "applied" permanently to the eyeball's rotation bone, and the whole eyeball mesh rotates with a static flattened deformation on it.

Does anyone know of a way to accomplish a lattice-like deformation on part of a skeletal mesh?

Product Version: Not Selected
Tags:
more ▼

asked Apr 16 '15 at 07:38 PM in Using UE4

avatar image

Sasquatchist
35 2 12 11

avatar image Abeysaurus Apr 03 '16 at 01:16 PM

I've tried the blendshape idea, but doesn't give the best result. Would like to know how to get lattice deformations in UE4 too

avatar image saavedrafilm Apr 03 '16 at 03:19 PM

for Lattice is the best that each deformation be a blendshape

avatar image Abeysaurus Apr 03 '16 at 03:55 PM

Thanks, I'll try doing more blendshapes to keep the shape constant

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

2 answers: sort voted first

I am doing this in my game by creating a separate skeletal mesh with one eye in it, then I put two of those into the character blueprint. If you scale the component the eye rotation will happen in the new oval shape. Add Eggshell eyelids and things look even better

I was a rigger at pixar for 4 years and we did something similar for toy characters with simple eyes. Woody, Buzz and many other characters essentially all have the same eye rig it is just fitted and shaded differently. The rigging systems are completely different, but its the same basic principle, its all about the deformation/execution order. In one step the bones do their deformations as though they are unscaled and in another step unreal is scaling the component, because of the order of operation you maintain the oval shape.

This does mean you will have to work a little blueprint magic, but if you make your eye blink and eye dart animation procedural its pretty darn easy to setup.

Let me know if you have any questions

alt text

eyeexample.png (257.5 kB)
more ▼

answered Apr 23 '16 at 08:59 PM

avatar image

rotoslinger
76 1 5 9

avatar image Sasquatchist Apr 28 '16 at 01:15 PM

That's a fantastic solution! That actually results in the compressed, yet still rotating eyeball, without lattices, and still in engine. Thanks for the great idea!

avatar image Gochida Dec 30 '16 at 02:20 AM

I can't seem to get this to work. I create a sphere, parent it to a bone (call it rotator), and parent that bone to a second bone (call it parent). In blender, when I rotate the rotator while parent has scaling on it, the eye stays deformed just fine.

However in Unreal when I scale the parent and rotate the rotator bone, the entire deformation rotates as if the parent had been scaled at a rotated axis!

avatar image bhowiebkr May 14 '18 at 06:51 PM

Hey rotoslinger, I’m trying to setup cartoon eyes the same way. Do you have an example file/scene I can checkout on how to get the deformation/execution order working correct? I’m trying to get scaled cartoon eyes made in Maya working in Unreal by scaling the I joint deformation.

avatar image Draise Jul 26 '18 at 11:19 PM

Having a clear map of how to do this would be nice. A Screen cap of the blueprint and rig/bones?

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

Te recomendaria usar Blendshapes que adapten los movimientos de los ojos

more ▼

answered Mar 27 '16 at 03:35 PM

avatar image

saavedrafilm
1 1

(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