Skip to content

Invalid z-coordinate calculation #169

@mystexodus

Description

@mystexodus
                    result.CastPosition = input.RangeCheckFrom +
                                          input.Range *
                                          (result.UnitPosition - input.RangeCheckFrom).To2D().Normalized().To3D();

This code (in Prediction) multiples the z coordinate by input.Range given invalid values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions