#New humanoid keeps falling over

1 messages · Page 1 of 1 (latest)

neat glade
#

im trying to make a prop hunt game so ive got the "morph" working but now when the player is the prop, it falls over very easily and cant walk over something small like the grey part i show in the pic. i have auto rotate set to true and the Hip height at 1.8.
for context the custom physical properties are as follows:
density: 0.0001
elasticity:0
elasticityweight: 100
friction and frictionweight: 0

(note ive also tried with non-custom physics properties and it still had the same issues)

my question is if i have a character animation, would that lessen the chance of them falling over? (preferably id like to solve it instead tho, thats sort of last resort)

does someone know a fix for this? thanks in advance

dark mantle
#

You got two options:
easy but wonky way is to use the .anchored property. This isn’t recommended
The better way is to use these two lines of code which make sure the player won’t move and the limbs are frozen

humanoid.PlatformStand = true
humanoid:ChangeState(Enum.HumanoidStateType.Physics)
latent archBOT
#

studio** You are now Level 7! **studio

neat glade
#

i ended up adding
humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding, false)

but was very buggy, will send a vid in a sec

#

i had to compress bitrate alot just so i could add the vid here

neat glade
#

player cant move with those 2 lines added

latent archBOT
#

studio** You are now Level 1! **studio

finite orchid
neat glade
finite orchid
dark mantle
#

Are you trying to let it move?

neat glade
#

since its a player being a prop

dark mantle
#

Off the top of my head you can undo the properties I told you when the player inputs like movement controls and relock them when the player stops

#

Do you know how to do that?

neat glade
#

hmm im not sure if thats the fix im looking for

#

like idont want the player to be anchored / immovable at this stage of development

#

like the issue is moreso that the custom humanoid mesh cant climb over small things a normal player can

#

which is why it keeps falling over but not sure how to fix

dark mantle
#

Oh ok… so what do you want the player to be like? Im not sure if the other guy’s approach would work either then because you want the prop to move right

#

I wonder if you’d be able to add hidden parts to the chair so it does have support although it would be clunky