mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +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:
@@ -1247,6 +1247,12 @@ if (m_shape != null) {
|
||||
if (userExposed)
|
||||
dupe.UUID = UUID.Random();
|
||||
|
||||
//memberwiseclone means it also clones the physics actor reference
|
||||
// This will make physical prim 'bounce' if not set to null.
|
||||
if (!userExposed)
|
||||
dupe.PhysActor = null;
|
||||
|
||||
|
||||
dupe._ownerID = AgentID;
|
||||
dupe._groupID = GroupID;
|
||||
dupe.GroupPosition = GroupPosition;
|
||||
|
||||
Reference in New Issue
Block a user