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"

VR movement and collsion disagreement

OK so the problem i am having is integrating collision along with movement in my VR game. By themselves they work, however when I put them together they do not work with each other. First lets go over the movement. Everything movement wise goes through the "Check VR Movement" once your in the "Check VR Movement" It checks what controllers are active then gets the distance they have traveled and in what direction then applies that movement to the player pawn. That is under "Add Player Movement" then it resets everything to go again. In this way the character moves when he holds down the shoulder buttons on the vive controller and swigs his arms back and forth like he was running. Then comes the collision since a player pawn doesn't have collision what the solution was is to add a capsule collision to the pawn have that simulate physics then attach that so it follows the players head. and that is done through "Capsule Tracking" and "Capsule move actor" so I have all of this plugged in and what happens is the capsule does its job perfectly however i can no longer move my player using my movement system. if in "Capsule Movement" i cut of the "Event tick Update Actor Position" then i gain the ability to walk again however the player is too high in the air and the capsule does not follow me don't know if that helps but is something i have noticed. So in conclusion i think the problem is that the capsule BP are over riding the movement BP I need to keep the movement the way it is with the arm swiging however if i need to integrate collision another way i am open to suggestions..alt text .alt text alt text

[4]: /storage/temp/233234-check-vr-movement.png

Product Version: UE 4.18
Tags:
more ▼

asked Mar 09 '18 at 04:25 PM in Blueprint Scripting

avatar image

SSC_RED_DRAGON
5 3 3 3

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

1 answer: sort voted first

Never mind i figured it out it was something wrong with with the add player movement node.

more ▼

answered Mar 14 '18 at 11:45 PM

avatar image

SSC_RED_DRAGON
5 3 3 3

(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