Jump to content

Unity Issues(C#)

archiso

I'm using a Character Controller of the parent object to the cube to move the cube, but because the cube has a Rigidbody the Controller moves to the side of the cube when the game starts. To fix this I turned on "Is Kinematic", but then there is no gravity. Can anyone help me? 

 

Thanks.

Link to comment
Share on other sites

Link to post
Share on other sites

Yes the rigidbody does make it more annoying. 

 

Remove the rigidbody. 

If that doesn't work, remove all physics components from the cube. 

 

Because your character control is the main physics and environment interaction component, you really shouldn't be using any other colliders unless you have a specific reason to. 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×