- Home /
how to have both RIGIDBODIES and COLLIDERS
I am making an airplane sim.
i cant get it all to work together, in that if i make rigidbody components, and try to use colliders too,, the plane either falls apart, or flies in random directions.
so i either can have no colliders, and have the plane fall thru the ground, or i can have no rigidbodies, and therefor cant hinge the wing flaps to the wing is there any way to keep both colliders and rigidbody hinges?
Well you could just have one mesh collider instead of a bunch of box colliders, meaning that your plane shouldnt fall apart, oooorrrr... you could simulate gravity on your plane using maths and add rigidbodies to all other objects except for your plane. I dunno, just puttin some options out there. I dont really understand why youre getting this issue so i wouldnt write this as an answer but maybe something that ive said might help you. @richardgengle
Answer by richardgengle · Aug 20, 2020 at 11:58 PM
thanks @Llama_w_2Ls, one more question.
so when i switch from an overhead camera to side camera... the rotation of an object changes wrt the floor. - from above it looks like a tire rotating on pavement. - from the side it spins like a top.
I want it to spin oriented like a tire, wrt ground... any ideas how to get proper rotation in all views?
no prob... i think i figured it out. i had to change the camera script to have camera.enabled= true or false,,, and not use camera.setactive... i also moved the camera around,,, but ended up with it back where i started.