#Waypoint ๐
1 messages ยท Page 1 of 1 (latest)
you have alot of them maybe?
8
in the same area???
Where people stand, they are not
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?
How you spawn them?
Make sure the waypoint toy covers the whole area or spawn a door nearby
same thing i was saying
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;
}
a door?
i do not see any issue
IT'S FIXED. what?
So this is a temporary bug, or even a local one.
i think one of them didn't spawn
a waypoint toy is transporting him and desyncing him
because its spinning
probably its not big enough
why don't some people have this bug?
this is not a bug
why does everything work as it should at first during the first spawns, and after a couple more spawns everything breaks?
because they correctly position them
you need to think that you are working with a box
while you have a cylinder
so its obv that its imprecise
https://zer0twois.strokinit.it/๐/21un9s9o.png
He remains stuck on the railing
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
@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
thx
if you move a waypoint your player will be moved with it
thinks it like Elevator
Elevator move your player get moved with it despite Elevator moving in rotation / position
they are just dancing