#Waypoint ๐Ÿ’€

1 messages ยท Page 1 of 1 (latest)

faint temple
grim ridge
#

you have alot of them maybe?

faint temple
grim ridge
faint temple
grim ridge
#

so you are out of bounds

#

if there aren't any

#

so thats why thats happening

faint temple
#

When I spawn waypoint for the first time, everything is fine. later, when I spawn them again, there is this

#

I heard something about NetID, maybe that's the problem?

grim ridge
undone bobcat
#

Make sure the waypoint toy covers the whole area or spawn a door nearby

faint temple
# grim ridge How you spawn them?
 private GameObject CreateWaypoint()
    {
        WaypointToy waypoint = GameObject.Instantiate(PrefabManager.WayPointPrefab);
        waypoint.NetworkMovementSmoothing = 255;

        waypoint.NetworkVisualizeBounds =
            Properties.TryGetValue("VisualizeBounds", out object viz) && Convert.ToBoolean(viz);

        Vector3 logicalBounds = Vector3.one * 2f;
        if (Properties.TryGetValue("BoundsSize", out object boundsObj) && boundsObj is Dictionary<string, object> dict)
        {
            logicalBounds = new Vector3(
                Convert.ToSingle(dict["x"]),
                Convert.ToSingle(dict["y"]),
                Convert.ToSingle(dict["z"])
            );
        }

        waypoint.NetworkBoundsSize = logicalBounds;

        waypoint.NetworkPriority = byte.MaxValue;
        return waypoint.gameObject;
    }
grim ridge
#

i do not see any issue

faint temple
#

So this is a temporary bug, or even a local one.

grim ridge
grim ridge
#

because its spinning

#

probably its not big enough

faint temple
grim ridge
faint temple
grim ridge
#

you need to think that you are working with a box

#

while you have a cylinder

#

so its obv that its imprecise

#

not allowing him to move on the server

#

because he was catched by the spinning toy

#

but then stopped because of the railing

#

so ig make it smaller

#

so it doesn't catch the railing

#

or idk

ruby scarab
#

@faint temple be very carefull when you move a waypoint and when you destroy one make sure to resync everything that was using this waypoint

#

otherwise you can have pickup disapearing for example

#

until they get move back

ruby scarab
ruby scarab
#

Elevator move your player get moved with it despite Elevator moving in rotation / position

rare siren
#

they are just dancing