Add PartsManager rule for normal tail
This commit is contained in:
parent
6b27777cb9
commit
9dc09da1b1
@ -396,9 +396,9 @@ do
|
|||||||
--- Custom state
|
--- Custom state
|
||||||
-- Disable model in vanilla partial
|
-- Disable model in vanilla partial
|
||||||
PM.addPartGroupFunction(CUSTOM_GROUPS, function(last) return not vanillaPartial() end)
|
PM.addPartGroupFunction(CUSTOM_GROUPS, function(last) return not vanillaPartial() end)
|
||||||
-- no legs in water if tail enabled
|
-- no legs, regular tail in water if tail enabled
|
||||||
PM.addPartFunction(model.LeftLeg, function(last) return last and not aquaticTailVisible() end)
|
local mtail_mutually_exclusive={model.LeftLeg, model.RightLeg, model.Body_Tail}
|
||||||
PM.addPartFunction(model.RightLeg, function(last) return last and not aquaticTailVisible() end)
|
PM.addPartGroupFunction(mtail_mutually_exclusive, function(last) return last and not aquaticTailVisible() end)
|
||||||
|
|
||||||
-- Enable head in vanilla partial
|
-- Enable head in vanilla partial
|
||||||
PM.addPartFunction(model.Head, function(last) return last or vanillaPartial() end)
|
PM.addPartFunction(model.Head, function(last) return last or vanillaPartial() end)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user