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"

Component collision issue in VR

Hi everyone,

I'm looking for setting up a postprocess effect when the camera hits a wall using VR (avoiding the player to walk through walls and so).

I've attached a sphere component to the camera and managed to set up Overlap events for this sphere. However during VR preview, the component reacts constantly as Overlapped-NotOverlapped-Overlapped-NotOverlapped and so on, EXCEPT when hitting a wall (when it says nothing at all). Any idea what's going on ?

Here is a screenshot of my Pawn blueprint. alt text

Thanks a lot !

Product Version: UE 4.12
Tags:
clipboard01.jpg (139.9 kB)
more ▼

asked Sep 06 '16 at 07:14 AM in VR

avatar image

Teapot Creation
165 22 33 47

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

2 answers: sort voted first

Oh, my bad... Another object (hidden at the moment) was overlapping the sphere at the default position of the pawn.

So if you encounter the same problem, take note that default position are as much important as the gameplay one...

more ▼

answered Sep 06 '16 at 07:39 AM

avatar image

Teapot Creation
165 22 33 47

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

So you don't use any collision at all? But the player still be able to walk through a wall and get his normal view back after he entered the new room?!

more ▼

answered Oct 11 '16 at 09:38 AM

avatar image

Freme
21 2 7

avatar image Teapot Creation Oct 11 '16 at 12:02 PM

I use a sphere collision ; this one changes the post process effect, but the player can effectively look through the walls if he wants to. However i've set an invisible wall volume to "fill" the room I want the player don't go in. So the view is still changed.

I was looking for another system that teleport the player to the last valid location instead, but didn't find out how to make it work fine.

avatar image Freme Oct 11 '16 at 01:55 PM

hm with locomotive movement? I didn't get it correct without any Plugins...

avatar image Teapot Creation Oct 11 '16 at 03:10 PM

Not really locomotive movement, just teleporting the pawn to the last valid location known (eventually using a fast fade to black to make the transition easier).

(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