Skip to content

Add TargetTransform parameter to NetworkTransform #3436

Open
@marcusx2

Description

@marcusx2

Is your feature request related to a problem? Please describe.
Yes. Currently, NetworkTransform (and ClientNetworkTransform) desyncs if you disable the gameobject it is attached to. I am currently instead disabling the renderers, etc.

Describe the solution you'd like
If you add a TargetTransform serializable field, I can add the NetworkTransform script to a gameobject I won't disable. Then I can keep enabling/disabling the gameobject with the target transform, which is a lot easier. Right now I always have to attach the NetworkTransform to the gameobject with the transform I want to move, and a lot of scripts like rigidbody, colliders, etc are also attached to it and I can't disable the gameobject because of NetworkTransform, so instead I need to disable the behaviours, renderers, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    stat:awaiting-responseAwaiting response from author. This label should be added manually.type:featureNew feature, request or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions