How to rotate an object based on a point?
2699 2 1-
- pinkymonkey11
- Member
- 19 posts
- Joined: Jan. 2015
- Offline
have an object that I want to be able to rotate according to which point that is it is on a sphere. I have a slider that allows the user to input how many objects that they want. And based on that number the object copies itself randomly to points. For these points I have grouped them together. Since the object is in a group all of the objects are facing the same way. I want to be able to have each object to rotate to be facing outward based on where it is on the sphere.
-
- mestela
- Member
- 1854 posts
- Joined: May 2006
- Offline
You need attributes to tell the copy sop how to rotate. Here I've used @N and @up, other ways are to use @orient, @v, or a few others.
This tutorial might give you some clues:
http://www.tokeru.com/cgwiki/index.php?title=Copy,_Stamps,_Rotation,_Hscript,_Vex,_a_ramble [tokeru.com]
This tutorial might give you some clues:
http://www.tokeru.com/cgwiki/index.php?title=Copy,_Stamps,_Rotation,_Hscript,_Vex,_a_ramble [tokeru.com]
-
- pinkymonkey11
- Member
- 19 posts
- Joined: Jan. 2015
- Offline
-
- Quick Links

