mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
* Tweaks physics so that linked prim are a single body. This will make linked prim more stable and probably the last obstacle to vehicles physics wise.
* Fixed a bug that caused physics proxies to be scattered when you link an object. * Single physical prim work exactly the same as before, just linked physical prim will have changed.
This commit is contained in:
@@ -1405,6 +1405,10 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
foreach (SceneObjectGroup sceneObj in children)
|
||||
{
|
||||
parenPrim.LinkToGroup(sceneObj);
|
||||
|
||||
// this is here so physics gets updated!
|
||||
// Don't remove! Bad juju! Stay away! or fix physics!
|
||||
sceneObj.AbsolutePosition = sceneObj.AbsolutePosition;
|
||||
}
|
||||
|
||||
// We need to explicitly resend the newly link prim's object properties since no other actions
|
||||
|
||||
Reference in New Issue
Block a user