#Player being pulled towards X on play

1 messages · Page 1 of 1 (latest)

jagged smelt
graceful mason
#

So did you try removing the components, other than Rigidbody and collider

jagged smelt
#

Well i removed the movement and animator script as u said.

#

still same

graceful mason
#

And dynamic bone?

#

Is this object a child of another object? And does it have any children that have a rigidbody

jagged smelt
#

also, this is the script attached to the player. This script enables me to collect objects or scopes present on the ground. I am pretty sure this doesnt affect the parent player object. But if u want to check this script here u go.

https://hastepaste.com/view/iGGWW

jagged smelt
jagged smelt
#

The above script is attached to the GO - bag. Other child are just skinmeshes of the character

#

inspector of bag

graceful mason
#

A rigidbody shouldnt be a child of another rigidbody.

#

It will just cause weirdness in physics

#

Its also possibly colliding with the player, pushing it forward (or right)

jagged smelt
#

er. nope, not the one. Removed RB in bag(child). still same

graceful mason
#

I would just start removing scripts one by one until it doesnt act weird

#

And disabling children

#

Are you sure that Dynamic bone isnt adding rigidbodies?

jagged smelt
#

so other objects with gravity enabled are having the same issue. When gravity is enabled for them. they are sliding down right as u see. see the scope which is falling down and sliding down right in this vid.

graceful mason
jagged smelt
#

the dfault

#

Is it because the friction on my plane is so low? I assigned a physics material to the below plane's box collider. 🤔

graceful mason
#

There could be a big collider overlapping everything, pushing them to the right

#

Hard to tell

#

0.25 friction shouldnt be a problem

#

Unless your plane isnt leveled