Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

How to rotate any object and It's direct children that The Player collides with.

$
0
0
I have a sphere(My player) and It's falling with gravity onto these 3D rings I have created. I want to be able to Rotate the rings and all their children with a guiButton(because mobile game) when the player touches the ring. Here's a picture:![alt text][1] How can I do this? I believe I need local rot? I already have somewhate of an OnCollisionEnter(){} [1]: /storage/temp/14819-screen+shot+2013-08-28+at+1.09.00+am.png

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>