You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create a prop physics model normally and scale it to some big size and let it collide multiple times fast cause instant infinite loop and crash -
local dome = ents.Create("prop_physics")
dome:SetModel("models/props_phx/construct/glass/glass_dome360.mdl")
dome:SetPos(self.Owner:GetPos())
dome:SetCollisionGroup(COLLISION_GROUP_NONE)
dome:SetMoveType(MOVETYPE_NONE)
dome:SetHealth(1000)
dome:SetModelScale(dome:GetModelScale() * 180) -- High values (x50+ on that model) cause infinite loop crash when collides more than once with other props
dome:Spawn()
dome:Activate()
Just like that, try to collide it multiple times per sec will cause overflow, infinite loop, and instant crash.
I also noticed that issue from long time ago which not sure why it was closed since it's not really fixed #3547
I just want a reliable way to scale props with their collisions boxes for server side because I do need it to collide but there seems to be no way to do that?
The text was updated successfully, but these errors were encountered:
Steps to re-produce ->
create a prop physics model normally and scale it to some big size and let it collide multiple times fast cause instant infinite loop and crash -
Just like that, try to collide it multiple times per sec will cause overflow, infinite loop, and instant crash.
Same thing happens when using tools like -
https://github.com/Metastruct/advresize
or spawning from dupes
I also noticed that issue from long time ago which not sure why it was closed since it's not really fixed
#3547
I just want a reliable way to scale props with their collisions boxes for server side because I do need it to collide but there seems to be no way to do that?
The text was updated successfully, but these errors were encountered: