Download

Getting BP_MotionController Position

Hello!

I am struggling with trying to get the position of the BP_MotionController. All I need is a vector from the change in position from the previous to current tick, and it’s impossible to “getActorLocation” because it is a child of the VROrigin component in the main character.

Any time I run getActorLocation, it just returns the position of the VROrigin component that it is parented to. How do I get it’s position?

Thanks,
Alek

I figured it out, apparently the root of BP_MotionController does not move, so if you get the position of something like the mesh or collision sphere instead, it will return the correct position.