- Home /
Mario Kart Turtle Shell Rotation?
Does anyone know how to do the Mario Kart Turtle Shells? The ones that when you pick them up, they rotate around your character?
I've been trying todo a similar technique, but I'm having trouble with the Rotate Around Function. The Shells spin around me just fine, but if I rotate my character left, they slow down, and if I rotate my Character right, they speed up.
Also having trouble with the Instantiation so that they Parent/Follow my Character when Instantiated.
Any insight or help would be greatly appreciated!
Answer by DuckMaestro · Aug 04, 2011 at 12:27 AM
It sounds like you are not far off. You just need to compensate for the angular speed of the kart so that it does not propagate down to the angular speed of the shell orbit (which I believe you are wanting to be constant in world-space?). If your shell's desired angular speed is C, and the kart's angular speed is D, then your shell's "local" angular speed needs to be C - D when applied.
As for parenting/following, you may want to post that as a separate question with sample code or more description.
Your answer
![](https://koobas.hobune.stream/wayback/20220612165806im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Rotation Jumping values (0 to 180) 1 Answer
Rotating sphere 0 Answers
Turning in a tube with raycast 1 Answer
Rotate towards 270 degrees,Rotate Towards 270 1 Answer
How to stop rotation in x and y axis??? 2 Answers