BulletSim: fix problem with some shapes (like cylinders) being implemented as cubes.
parent
3af2095cbc
commit
87a87ebb9a
|
@ -387,7 +387,7 @@ public class BSShapeCollection : IDisposable
|
||||||
prim.LocalID, forceRebuild, prim.BSShape);
|
prim.LocalID, forceRebuild, prim.BSShape);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
if (pbs.ProfileShape == ProfileShape.Square && pbs.PathCurve == (byte)Extrusion.Straight)
|
||||||
{
|
{
|
||||||
haveShape = true;
|
haveShape = true;
|
||||||
if (forceRebuild
|
if (forceRebuild
|
||||||
|
|
Loading…
Reference in New Issue