Confirmedusers, Bureaucrats, editor, Administrators
1,778
edits
Lazy Warlock (talk | contribs) No edit summary |
|||
Line 92: | Line 92: | ||
<syntaxhighlight lang="c#"> | <syntaxhighlight lang="c#"> | ||
Vec3d pos = | Vec3d pos = | ||
byEntity.Pos.XYZ.Add(0, byEntity. | byEntity.Pos.XYZ.Add(0, byEntity.LocalEyePos.Y, 0) | ||
.Ahead(1f, byEntity.Pos.Pitch, byEntity.Pos.Yaw) | .Ahead(1f, byEntity.Pos.Pitch, byEntity.Pos.Yaw) | ||
; | ; | ||
Line 124: | Line 124: | ||
{ | { | ||
Vec3d pos = | Vec3d pos = | ||
byEntity.Pos.XYZ.Add(0, byEntity. | byEntity.Pos.XYZ.Add(0, byEntity.LocalEyePos.Y, 0) | ||
.Ahead(1f, byEntity.Pos.Pitch, byEntity.Pos.Yaw) | .Ahead(1f, byEntity.Pos.Pitch, byEntity.Pos.Yaw) | ||
; | ; |