@rbxts/falldown 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/out/init.luau +15 -3
  2. package/package.json +1 -1
package/out/init.luau CHANGED
@@ -634,6 +634,9 @@ do
634
634
  while self.Humanoid.MoveDirection.Magnitude <= 0 do
635
635
  RunService.Stepped:Wait()
636
636
  end
637
+ if self.HumanoidRootPart.Anchored then
638
+ return nil
639
+ end
637
640
  self.HumanoidRootPart:SetNetworkOwner(self.Owner)
638
641
  end)
639
642
  self.Ended:Fire()
@@ -783,6 +786,9 @@ do
783
786
  while self.Humanoid.MoveDirection.Magnitude <= 0 do
784
787
  RunService.Stepped:Wait()
785
788
  end
789
+ if self.HumanoidRootPart.Anchored then
790
+ return nil
791
+ end
786
792
  self.HumanoidRootPart:SetNetworkOwner(self.Owner)
787
793
  end)
788
794
  self.Humanoid.EvaluateStateMachine = true
@@ -852,7 +858,9 @@ do
852
858
  weld.C0 = CFrame.identity
853
859
  weld.Parent = proxyPart
854
860
  proxyPart.Parent = Workspace
855
- proxyPart:SetNetworkOwner(owner)
861
+ if not proxyPart.Anchored then
862
+ proxyPart:SetNetworkOwner(owner)
863
+ end
856
864
  proxyPart.CollisionGroup = proxyGroupId
857
865
  originalPart.CollisionGroup = bodypartGroupId
858
866
  proxyMap[partName] = proxyPart
@@ -895,7 +903,9 @@ do
895
903
  local bodypartGroupId = HttpService:GenerateGUID(false)
896
904
  for _1, descendant in character:GetDescendants() do
897
905
  if descendant:IsA("BasePart") then
898
- descendant:SetNetworkOwner(owner)
906
+ if not descendant.Anchored then
907
+ descendant:SetNetworkOwner(owner)
908
+ end
899
909
  descendant.CollisionGroup = bodypartGroupId
900
910
  end
901
911
  end
@@ -1154,7 +1164,9 @@ do
1154
1164
  local bodypartGroupId = HttpService:GenerateGUID(false)
1155
1165
  for _1, descendant in character:GetDescendants() do
1156
1166
  if descendant:IsA("BasePart") then
1157
- descendant:SetNetworkOwner(owner)
1167
+ if not descendant.Anchored then
1168
+ descendant:SetNetworkOwner(owner)
1169
+ end
1158
1170
  descendant.CollisionGroup = bodypartGroupId
1159
1171
  end
1160
1172
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/falldown",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "A realistic ragdoll physics system for Roblox with smooth getup animations, collision management, and customizable velocity modes. Supports both R6 and R15 rigs with surface-aware positioning.",
5
5
  "main": "out/init.luau",
6
6
  "scripts": {