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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Camera doesn't follow crouching or prone animation I created...

So I have re-created the animations(prone, crouch and jog) from the UE4 documentation. I have a camera setup to a first person POV of the pawn but no matter what I try I cannot get the camera to follow the animation. Here is pictures of the camera and its setup, and what happens to me in game. Please keep in mind, I am fairly new to UE4. If you request me to change the entire layout to assist me I have no problem(s) doing so.

alt text

alt text

Camera Settings: alt text

alt text

Product Version: UE 4.10
Tags:
capture1.png (173.6 kB)
capture2.png (145.8 kB)
capture3.png (354.0 kB)
capture4.png (285.7 kB)
more ▼

asked Dec 23 '15 at 11:41 AM in Blueprint Scripting

avatar image

carsonj0108
1 2 3 4

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

3 answers: sort voted first

,Dirt113, how would I go about doing that? The binding of a socket, and how do I get the non-visual components to move with the animation?

more ▼

answered Dec 23 '15 at 11:55 AM

avatar image

carsonj0108
1 2 3 4

avatar image Dirt113 Dec 23 '15 at 11:57 AM

Open the skeletal mesh's skeleton asset, and choose one bone, I personally recommend the head, but anything will work.

Then position it with a desired offset, then go back to the camera component settings, and set Parent Socket to the previously added one.

Hope this helped :D

avatar image carsonj0108 Dec 23 '15 at 11:59 AM

and this will also move the non-visual components correct?

avatar image Dirt113 Dec 23 '15 at 12:00 PM

As long as they're properly attached, yes.

avatar image carsonj0108 Dec 23 '15 at 10:47 PM

Ok, so day passed and I finally got a chance to look at my mesh. But for some reason, after setting the parent to the head, my animations suddenly stopped working. Ideas?

avatar image carsonj0108 Dec 23 '15 at 10:50 PM

Nevermind! I found my problem. I forgot to uncheck the "Update skeleton" box. Thank you so much Dirt!

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

It won't move with the animations just cause it's owned by the mesh component, it needs to either be bound to a socket, or moved manually.

This is because when animations are played on skeletal meshes, the actual playing component itself doesn't move, only the visuals do, which is the reason for base repositioning or something in anim BP's

more ▼

answered Dec 23 '15 at 11:50 AM

avatar image

Dirt113
95 13 16 21

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

Hi

Check this documentation to see how to create sockets and attach the camera to your socket using Attach To:

https://docs.unrealengine.com/latest/INT/Engine/Content/Types/SkeletalMeshes/Sockets/index.html

more ▼

answered Dec 23 '15 at 12:33 PM

avatar image

FilipeTessaro
1.4k 54 19 60

(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