hi!, im currently making fighting game right now
and i have come across one problem
velocity i apply to character are not stable between nonragdoll and ragdoll character
(sorry for bad quality video, im not sure why it is lagging)
velocity seem to get weaken on ragdolled character compare to nonragdolled character
i have tested many test like using impulse, apply velocity to every part of character
lower ragdoll joint friction or even set massless to every part of character
none of that work, and no one seem to have a problem like me too
this is a example of how i apply velocity and ragdoll
local bv = Instance.new("LinearVelocity")
bv.ForceLimitMode = Enum.ForceLimitMode.PerAxis
bv.MaxAxesForce = Property.VelocityForce
bv.VectorVelocity = Property.Velocity
bv.Attachment0 = RootAtt
bv.RelativeTo = Enum.ActuatorRelativeTo.World
bv.Parent = VictimRoot
RSModule.Debris:AddItem(bv, Property.VelocityDuration)
local SocketProperty = {
["RootJoint"] = {
{"LimitsEnabled", true},
{"TwistLimitsEnabled", true},
{"MaxFrictionTorque", 0},--100
{"UpperAngle", 0},
{"TwistLowerAngle", 0},
{"TwistUpperAngle", 0},
},
["Neck"] = {
{"LimitsEnabled", true},
{"MaxFrictionTorque", 150},
{"TwistLimitsEnabled", true},
},
["Left Hip"] = {
{"LimitsEnabled", true},
{"MaxFrictionTorque", 150},
{"TwistLimitsEnabled", true},
{"UpperAngle", 50},
{"TwistLowerAngle", -25},
{"TwistUpperAngle", 25},
},
["Right Hip"] = {
{"LimitsEnabled", true},
{"MaxFrictionTorque", 150},
{"TwistLimitsEnabled", true},
{"UpperAngle", 50},
{"TwistLowerAngle", -25},
{"TwistUpperAngle", 25},
},
["Left Shoulder"] = {
{"LimitsEnabled", true},
{"MaxFrictionTorque", 100},
{"Restitution", 1},
},
["Right Shoulder"] = {
{"LimitsEnabled", true},
{"MaxFrictionTorque", 100},
{"Restitution", 1},
}
}
humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp, false)
humanoid:ChangeState(Enum.HumanoidStateType.Physics)