Realistic ball rotation February 12, 2010 03:25PM | Registered: 15 years ago Posts: 54 |
Re: Realistic ball rotation February 12, 2010 04:19PM | Registered: 14 years ago Posts: 379 |
TQuat ballRotation; ... in you main loop... ball.x + = acelx; ball.z + = acelz; ballRotation *= TQuat(TVector(acelx, 0, acelz), ballRadius);You need to tweak the ballRadius, and the acelx, 0, acelz might be in the wrong order.
Re: Realistic ball rotation February 12, 2010 04:19PM | Registered: 15 years ago Posts: 30 |
Re: Realistic ball rotation February 13, 2010 02:50AM | Registered: 15 years ago Posts: 54 |
Re: Realistic ball rotation February 13, 2010 11:39AM | Registered: 15 years ago Posts: 62 |
Re: Realistic ball rotation February 13, 2010 03:56PM | Registered: 15 years ago Posts: 54 |
Re: Realistic ball rotation February 13, 2010 09:20PM | Registered: 15 years ago Posts: 62 |
Re: Realistic ball rotation February 14, 2010 05:50PM | Registered: 15 years ago Posts: 54 |
Re: Realistic ball rotation February 14, 2010 07:19PM | Registered: 15 years ago Posts: 62 |
Re: Realistic ball rotation February 14, 2010 07:43PM | Registered: 15 years ago Posts: 54 |
Re: Realistic ball rotation February 15, 2010 04:06PM | Registered: 15 years ago Posts: 62 |
Re: Realistic ball rotation February 15, 2010 06:37PM | Registered: 15 years ago Posts: 54 |
Re: Realistic ball rotation February 15, 2010 08:45PM | Registered: 15 years ago Posts: 62 |
Re: Realistic ball rotation February 16, 2010 01:16AM | Registered: 15 years ago Posts: 54 |
Re: Realistic ball rotation February 16, 2010 01:06PM | Registered: 15 years ago Posts: 62 |
Re: Realistic ball rotation February 16, 2010 05:45PM | Registered: 15 years ago Posts: 54 |
Re: Realistic ball rotation February 17, 2010 04:16PM | Registered: 15 years ago Posts: 62 |
Re: Realistic ball rotation February 17, 2010 07:12PM | Registered: 15 years ago Posts: 54 |
Re: Realistic ball rotation February 18, 2010 03:29PM | Registered: 15 years ago Posts: 62 |
Re: Realistic ball rotation February 18, 2010 06:11PM | Registered: 15 years ago Posts: 54 |