Merge branch 'SMSum-master'

This commit is contained in:
David Hepworth 2020-05-07 07:50:57 +01:00
commit 80b702ba04

View File

@ -168,6 +168,16 @@ if SERVER then
phys:EnableMotion( ismove )
if not issleep then phys:Wake() end
local data = {}
data.enabled = true
data.isrenderoffset = 0
data.mass = mass
data.obbcenter = ent:OBBCenter()
data.radius = radius
data.renderoffset = Vector(0,0,0)
ent.noradius = data.noradius
duplicator.StoreEntityModifier( ent, "MakeSphericalCollisions", data )
end
function MakeSpherical.CopyConstraintData( ent, removeconstraints )