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 set up collisions for VR?

I'm having trouble setting up my player pawn to correctly use roomscale vr, currently my collision capsule is my player pawns root, so I can move around with collision, however its stuck to the centre of the playspace, meaning that unless you are standing in the middle of the room the collision capsule wont be locked to where the player is in the playspace, which will cause collision issues when you are trying to move around.

I'd like the collision capsule to still operate the way it is but follow the player pawn around the playspace. has anyone found any tutorials on how to make this work with gravity still working?

Product Version: UE 4.20
Tags:
more ▼

asked Nov 11 '18 at 06:25 AM in Blueprint Scripting

avatar image

Aikirob
35 3 3 7

avatar image Aikirob Nov 13 '18 at 11:47 PM

bumping this

avatar image Aikirob Mar 17 '19 at 12:12 AM

never found an answer to this question, upon digging it has been said that this cannot be achieved in unreal engine. So players will just have to have not true roomscale.

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

2 answers: sort voted first

Hello Aikirob,

If "Reset position" (Reset Orientation and Position node) is called this should align the player/camera with the center of the collision.

In RoboRecall there is a system that fades in a circle if the user is far enough from the origin. (Letting them know either to recenter or to step back into the center.)

more ▼

answered Nov 19 '18 at 09:25 PM

avatar image

Alex O ♦♦ STAFF
2.5k 3 8 9

avatar image Aikirob Nov 20 '18 at 03:45 AM

not really looking for that kind of thing, I'd rather the collision capsule follow the player and still act like its the root component.

avatar image IndieGameCove Apr 29 '19 at 09:36 AM

The vrexpansion plugin has working collisions I think the capsule is at the root and then it's offset somehow.

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

Hi Aikirob,

Try setting your collision capsule as a child of the camera. This way it will follow the HMD as you move around, just make sure to lock its rotation so it's always upright and not rotating based on the rotation of the camera.

more ▼

answered Apr 28 '19 at 10:11 AM

avatar image

jonathan9232
76 5 4

(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