- Home /
Run around a ball? HEEELP!
I'm trying to have a small sphere about 150 in diameter and for hours I have tried to get an toon to run around it but he always falls off. Even if he isnt using gravity or is kinematic. I cannt for the life of me get him to run arround the ball! I've even tried updating his gravity to be the vector to the planet but then he gets to the equator and bobs up and down. any suggestions!? this should be easy but I'm failing right now...
Posting your code (or at least the relevant pieces) would be helpful in helping us help you.
Answer by e-bonneville · Mar 29, 2010 at 06:26 PM
Have you tried putting a rotation on the ball, not the toon? That might work, it'll still get the effect you wanted if you put a walk animation on the toon.
I think he's going for the Super $$anonymous$$ario Galaxy-type effect... making a character walk around a semi-large sphere or planetoid. Rotating the sphere would be an ineffective solution because the rest of the world elements wouldn't rotate, as well (skybox, other spheres, etc).
Oh. I thought it might be for a cut-scene or something. Hmm.
Perhaps some sort of Configurable Joint or maybe a downward force could work.
Your answer
Follow this Question
Related Questions
Changing gravity affecting 'random movement' behaviour script - my NPCs go crazy, what should I do? 1 Answer
addforce in a solar system cause framerate to drop to zero over time. 1 Answer
rigidbody gravity Question ? 1 Answer
How do you add gravity to a character controller? 1 Answer
Character Controller and Camera for Faux gravity..(Mario Galaxy) 3 Answers