mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Tell physics about physics shape when creating. Added some virtual methods to get/set density,gravmod, frition,bounce and shape type ( not in use ). UbitOde now should do convex type on creation or everytime the mesh is changed ( as in change size, shape, etc )
This commit is contained in:
@@ -1832,6 +1832,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
GetWorldRotation(),
|
||||
isPhysical,
|
||||
isPhantom,
|
||||
PhysicsShapeType,
|
||||
m_localId);
|
||||
}
|
||||
catch
|
||||
@@ -4732,6 +4733,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
GetWorldRotation(), //physics wants world rotation like all other functions send
|
||||
UsePhysics,
|
||||
SetPhantom,
|
||||
PhysicsShapeType,
|
||||
m_localId);
|
||||
|
||||
PhysActor.SetMaterial(Material);
|
||||
|
||||
Reference in New Issue
Block a user