Unable to plug in anything into the target of my node

How do I plug in anything into the target? (I’m not necessarily trying to plug in the VRRoot Reference)

This is inside a Character, that could be a cause.

Read the tooltip carefully and you have your answer. For a reference to be connected there it must be of Mover Component Type.

If your VRRoot Component has a mover component or a pawn with a mover component you need to try get that first and then connect it.

My VRMovement Reference doesn’t fit.

HOWEVER

Mover Component plugs in, but Movement Ref. can’t plug into that.

(post deleted by author)

They are still not the same type, Character Movement Component does not equal mover component. If you know the VR Character Movement Component does have the parent class of Mover Component, then you could cast it to type MoverComponent first, if the cast succeeds, you’ll be able to connect the output of the cast into the Get Velocity Node.

The second image error is because Add Mover Component wants a AActor Object Reference, VRMovement is a UComponent Object Reference.

If you reparent your Mover Component, to be a child of Character Movement Component.
Add the Mover Component to your VR Root, you can then call your VRRoot->GetCharacterMovement()->CastTo(MoverComponent)

As Veucci mentioned above, you have a reference problem there.

I’m not sure what your VRRoot Reference is actually referencing but it is obviously not a “Mover Component” which is the only thing that can be plugged into that target. The reference chain looks something like this


so if your VRRoot Reference is a reference to the root component of the Actor then you’ll never be able to get the mover component as it is not a child of another component within the actor.

But the other question is, what are you trying to do with this? If you are just trying to get the velocity of a character then you can simply grab any actor reference and get it’s velocity.


This grabs an actual actor reference from its root component so you don’t need to specify the component, and if you are simply looking to get the actors speed this is usually all you’d need.

Or are you actually trying to use the experimental Mover Component and get its actual velocity?


Couldn’t do it. But I used a Get Component Velocity Node instead for hopefully the same effect.

It didn’t print out Puss when I moved however.

I believe what you guys may be telling me is the VRRoot Reference is something, I’m not quite sure, but because of what it is I am unable to simply use get velocity.

What I’ve managed to make here was able to be compiled but didn’t do anything.

Nevermind, it was because I forgot to call it in with a tick. Thank you for your time.