Derpius / VisTrace

Garry's Mod binary module for tracing meshes at high speed on the CPU (and much more)
https://derpius.github.io/VisTrace
MIT License
27 stars 1 forks source link

[feature] Handle effects #54

Closed Derpius closed 2 years ago

Derpius commented 2 years ago

Is your feature request related to a problem? Please describe. Effects will render as melons

Describe the solution you'd like We can't just blindly use the prop_dynamic stored in an effect, as the user may pass those entities explicitly.
The only possible solutions involve disabling rendering of an effect's model, then either requiring the user to explicitly pass the prop_dynamic (easy solution with obvious behaviour), or get the real entity off the effect and check whether the user already passed it explicitly (complex solution and the behaviour is inconsistent depending on whether you pass a dynamic prop along with an effect SENT.

I'll probably go with the former

Derpius commented 2 years ago

Added in 1a061c27dddb24e60845dcedbc1e49b034c1d650