but buoyancy was missing

LSLKeyTest
UbitUmarov 2016-07-27 21:32:47 +01:00
parent 32e30afbcb
commit 9aacdca653
1 changed files with 1 additions and 1 deletions

View File

@ -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))