-
Ball Rolling effect
Hi I'm trying to create the effect of a ball rolling. I have textured my ball but cannot make it rotate properly. I know it should rotate around the axis perpendicular to the ball moving direction.
How can I make such a rotation?
-
Advanced Member
Frequent Contributor
Re: Ball Rolling effect
First of all by understanding what is the right perpendicular axis since you got TWO. 
If you're asking how to put the ball in the correct place and then ROTATE it, i would "concatenate transforms" simply by using glTranslate / glRotate and maybe some matrix push-pop.
Bye
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules