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"

TPS How To Lock Camera

Hi! I am making my first Third Person Shooter game. I have an ADS freature and shoot feature, both work great, except when I look around with my camera. When aiming it works perfectly, but when I am not the bullets go in the direction Im looking at, but not from the gun muzzle. It comes from the gun muzzle but not straight through. Basically my character stands still with the gun pointing at the ground, but he can still shoot in ANY direction my camera is pointing at. I can stand with the back turned to the enemies and still shoot them magically without aiming through the gun. Anyone who knows how to lock the camera permanently? I want my charcter to always face the center of the camera, not just when aiming, this way I will fix the problems listed above. Thank you for reading!

Product Version: UE 4.8
more ▼

asked Jan 22 '16 at 05:46 PM in Using UE4

avatar image

1 2 2

avatar image Ryan Darcey Jan 22 '16 at 10:31 PM

can you post screenshot of blueprint controlling projectile firing?

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

1 answer: sort voted first

Click your character and open its blueprint.

in details of the followcamera use the search bar and type "pawn" then click the option.

after that in the thirdpersoncharacter (self) details type "yaw" in the search bar and click the option.

more ▼

answered Jan 22 '16 at 06:03 PM

avatar image

1 1 3

avatar image RasmusMuuu Jan 22 '16 at 06:42 PM

Tried it, didn't work :(

(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