Use:
sinθ = opposite⁄hypotenuse
cosθ = adjacent⁄hypotenuse
Finding X:
Adj = Hypcosθ; θ = Yaw
Hyp = Distcosθ; θ = Pitch
x = (DistcosPitch)cosYaw
Finding Y:
Opp = Hypsinθ; θ = Yaw
Hyp = Distcosθ; θ = Pitch
y = (DistcosPitch)sinYaw
Finding Z:
Opp = Hypsinθ; θ = Pitch
z = DistsinPitch
Implementing to Unreal:
Uses:
- Place actor at a certain distance from camera
- Find a point from a bone socket




[…] distance of the Weapon Base Mesh from the Head Socket bearing the Control Rotation in mind. (see this on how to learn […]
LikeLike