Skip to content

NetworkTransform behaviour when InLocalSpace changes #1977

@daalen

Description

@daalen

Is your feature request related to a problem? Please describe.
If NetworkTransform's InLocalSpace changes during runtime, and interpolation is on, the object is teleported to its previous local coordinates in world coordinates or vice versa, before smoothly moving back to its correct position.

Describe the solution you'd like
NetworkTransform should notice when InLocalSpace changed, and Teleport to the position in the correct coordinate system.

Describe alternatives you've considered
I currently overwrite the position right after a change of space.

EDIT: From reading the code, I see that something is already in place for this – and yet I have issues. Perhaps it is because the checks for interpolation and localspace changes in NetworkTransform sometimes only go one way: from interpolated to not interpolated but not the other way around, for instance.

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