Description

The Convert Transform to relative does not appear to return the correct value after rotations is applied to one of the objects

Note: In the attached project the Gray cube is what the expected result would be and the yellow cube is what actually happens. The yellow cube will move as the player does but only when the player is facing a certain direction.

Steps to Reproduce
  1. open the attached project
  2. Play in editor
  3. Notice the Gray cube appears to be moving relative to the player (The desired result after modification)
  4. Notice the yellow cube does not appear stuck to the screen like the gray cube and that it moves in the opposite direction that the player is moving

Expected result: The Yellow cube would act as the gray cube does now (as though it is attached to the player)
Result: The Yellow cube only moves relative to the player when the player's rotation is set to a certain rotation

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

36
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.9.2
CreatedOct 21, 2015
ResolvedAug 18, 2021
UpdatedAug 18, 2021