garrysmod-issues icon indicating copy to clipboard operation
garrysmod-issues copied to clipboard

Prop_dynamic not play animation outside PVS

Open Noctara opened this issue 3 years ago • 2 comments

I worked on a map when notice that prop_dynamic that outside PVS is not playing animation that the get from I\O system, but it start play it animation when it back to PVS. It creates a problem when need to synch few props animation or use prop with sound effects embedded to animation, because it plays too.

Reproduce: 1 - Create a simple map with prop_dynamic on it that has animations. 2 - Go somewhere, where prop cannot be seen (outside the map is OK) 3 - Try start it animation with ent_fire command and wait a while. 4 - Return to prop and you see it just now start play that animation. If it has sound effect it plays too. Just now, not when you call it.

https://user-images.githubusercontent.com/15330810/168238282-d5bb4347-7db1-4895-9b90-a76401728e3d.mp4

Noctara avatar May 13 '22 07:05 Noctara

As a workaround, you could add the prop's position with https://wiki.facepunch.com/gmod/Global.AddOriginToPVS to force is to always transmit.

Kefta avatar May 13 '22 11:05 Kefta

Well, unfortunately, i'm not "Friendly" with LUA. And i has too many dynamic object on map to add them like that.( Also, many of them will be "packed" in point_template, so it too difficult... I remember seen this glitch 2+ years ago, is there any chance it will be fixed?

Noctara avatar May 14 '22 17:05 Noctara