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"

Anyone know why my UMotionControllerComponent would be returning all zeroes for location?

Title basically asks all I want to know. I don't remember there being anything that one has to do to setup a motion controller other than add the component, set the Hand and Player Index values and make sure the component gets activated all of which are known true in my case and can be verified at runtime.

The Pawn Hierarchy and event tick are shown below.

alt text alt text

The pawn inherits from another pawn class which has nothing in it but a visibility line trace (on Tick) and members to store the trace hit result and the hit actor.

Update: I've heard from the Unreal Slacker's Discord that a project migration from 4.18 to 4.19 (with the changes to the XRSystem and motion controller) can cause an issue where the MotionControllerComponent is not updated. This is possibly true of my project since it was originally a 4.18 project now using 4.19 -- but I have no current solution for this issue, and not much information to provide.

I've tried stripping down this project to a single map with a single auto possessed pawn w/ motion controller and the component doesn't work in my project whatsoever, even when it matches what works in a newly created project and follows the MotionControllerSetup documentation page

Product Version: UE 4.19
more ▼

asked May 22 '18 at 08:03 PM in Blueprint Scripting

avatar image

187 10 26 25

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

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