I’m converting a project I made in UDK to UE4 and I have a question about how to go about doing something.
I have this line of code from UDK:
dotResult = vector(GGG_PC.Pawn.Rotation) DOT Normal(BlueGhost.Location - GGG_PC.Pawn.Location)
I’m trying to find out what the “vector(rotator)” part does so that I can replicate it. In Blueprint, I’m using GetForwardVector, but it’s giving me odd results. Am I going about this wrong?
According to http://wiki.beyondunreal.com/Legacy:Rotator I’m trying to “To get a vector of length one that points in the direction of the rotator”