Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local scale = 0.01
- local scalev = Vector()*scale
- hook.Add("PostDrawTranslucentRenderables", "SpaceRoom", function()
- for _, ent in pairs(ents.GetAll()) do
- if ent:GetClass() == "prop_physics" then
- ent:SetRenderOrigin(here + (ent:GetPos() * scale))
- ent:SetModelScale(scalev)
- ent:SetupBones()
- ent:DrawModel()
- ent:SetRenderOrigin(nil)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment