#Get player position direction in relation to entity

1 messages · Page 1 of 1 (latest)

tulip spire
#

I want to make a BP anim controller for an entity, that tells the player where he stands in relation to the entity (north, north-east, east, south-east, ...).
My first try was using the query.rotation_to_camera query, but this doesn't work for some reason (seems to always return the same value).

junior flame
#

Rotation to camera only works in RP, not in BP

#

Probably easiest way to do that would be via commands. Write an execute command that looks at player and then checks for @s with rx ry etc