Hello.
I have tried to make a elevator. I got the floor as a rigridbody box colider.
But i can’t figure out how to make a player with both character controler and rigridbody (box) collision. Can someone help me?
Hello.
I have tried to make a elevator. I got the floor as a rigridbody box colider.
But i can’t figure out how to make a player with both character controler and rigridbody (box) collision. Can someone help me?
Ok i shall improve my question a bit.
I want to make a player who looks like a ball (like in marble blast gold) and when it is on a slope it will roll down it. I can make things like a ball or a cylinder roll down it with a rigridbody and a spare collider. But when i apply character controller insted of a spare collider it wont roll. I have tried to make one layer with rigridbody spare collider and child to that layer one with character controller but that wont work beucose the parent of character controller wont move when i go around whith the character.
Can someone give me help PLEASE?
I’m not sure you actually want to use FPS controller or character controller here… your player is a ball, and moving it would probably involve pushing it around with forces…
There are a couple of scripts on Unify wiki for a similar purpose (not sure if really applicable to your situation): RigidbodyFPSWalker and PhysicsFPSWalker
sturestone says:
Thanks.
I have tested the physicsFPSwalker script and it will work great for me.
The only problem is that the player is not moving. I’m not so good at scripting so you maybe can have a look at it.I have only tested it in the project file from the other link you gave me, not in the original project (the defolt).
sorry i ment that i cant move the player with the keyboard keys but it’s still afekted by phsycics and gravity. And i know the script has effect beucose i tried to set the freze rotation on and of and the player reacted to it. I think it can be something with the on enter trigger thing beucose i don’t got any triggers in my game.