mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
but buoyancy was missing
This commit is contained in:
@@ -4883,6 +4883,7 @@ SendFullUpdateToClient(remoteClient, Position) ignores position parameter
|
||||
pa.GravModifier = GravityModifier;
|
||||
pa.Friction = Friction;
|
||||
pa.Restitution = Restitution;
|
||||
pa.Buoyancy = Buoyancy;
|
||||
|
||||
if(LocalId == ParentGroup.RootPart.LocalId)
|
||||
{
|
||||
@@ -4927,7 +4928,6 @@ SendFullUpdateToClient(remoteClient, Position) ignores position parameter
|
||||
{
|
||||
Velocity = velocity;
|
||||
AngularVelocity = rotationalVelocity;
|
||||
pa.RotationalVelocity = rotationalVelocity;
|
||||
|
||||
// if not vehicle and root part apply force and torque
|
||||
if ((m_vehicleParams == null || m_vehicleParams.Type == Vehicle.TYPE_NONE))
|
||||
|
||||
Reference in New Issue
Block a user