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"

Camera Restraints only work when moving slowly?

I have a top down game I'm working on and I want to restrict the camera from moving beyond certain bounds. This works, unless I walk straight at these bounds quickly, then the camera ignores them and follows the player. I have a gif of this in effect and I'll link some screenshots of my setup. As far as I can tell I'm not turning off the restrictions when moving, it seems to be some problem with how I set things up but I have no idea how else I'd restrict the camera.

You can see here walking straight to the bounds lets me walk right past it, then when I stop the camera snaps up to the bounds. I then walk up back to th e bounds to show again the camera works fine now.

https://gyazo.com/cd827b9d68aabcd66c3975528a24ed28

This screenshot is the basics of my restraints. I have variables keeping track of all four bounds (they change based on where I am in the level) I check if the player is close to one and then I start using the bounds instead of following the player completely. I use Vinterp to set the world location of the camera smoothly (Although I don't think this actually affects anything since I'm using a camera boom and my interp speed is really high) https://gyazo.com/9ee26726b8c111d9c3f7308630a07e0c

I have a camera attached to a spring arm with these lag settings https://gyazo.com/7eee083a664c66ed861b0ebae75bd9fa https://gyazo.com/28605406536602335907fea4dbee6fc2

Hope somebody can help!

Product Version: UE 4.14
Tags:
more ▼

asked Jan 10 '17 at 11:38 PM in Blueprint Scripting

avatar image

Chef_Seth
13 4 10 13

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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