@rbxts/falldown 1.1.7 → 1.1.9
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.
- package/out/init.luau +6 -1
- package/package.json +1 -1
package/out/init.luau
CHANGED
|
@@ -861,8 +861,13 @@ do
|
|
|
861
861
|
function Falldown:SetupCollisionGroup(bodyPartMap, bodypartGroupId)
|
|
862
862
|
PhysicsService:RegisterCollisionGroup(bodypartGroupId)
|
|
863
863
|
PhysicsService:CollisionGroupSetCollidable(bodypartGroupId, bodypartGroupId, false)
|
|
864
|
-
|
|
864
|
+
PhysicsService:CollisionGroupSetCollidable(bodypartGroupId, "Debris", false)
|
|
865
|
+
for partName, originalPart in bodyPartMap do
|
|
865
866
|
originalPart.CollisionGroup = bodypartGroupId
|
|
867
|
+
if partName ~= "HumanoidRootPart" then
|
|
868
|
+
originalPart:SetAttribute("Falldown_Reverse_CC_To", originalPart.CanCollide)
|
|
869
|
+
originalPart.CanCollide = true
|
|
870
|
+
end
|
|
866
871
|
end
|
|
867
872
|
end
|
|
868
873
|
function Falldown:CreateActiveRagdollR6(character, humanoid, standFadeTime, automaticDuration, exitMode, getupFront, getupBack)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rbxts/falldown",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.9",
|
|
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": {
|