Ball Object 3d Rotation
#6

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
Pretty pointless using the trigonometrical functions, I mean you can do it another way:

pawn Код:
GetObjectRot(PoolBall[i][bObject], rx, ry, rz);
rx -= 0.3;
ry += 0.3;
SetObjectRot(PoolBall[i][bObject], rx, ry, rz);
Should spin nice since you've got a 20 ms timer, though isn't necessary, 50 - 75 is good enough..
He wanted to do a realistic movement Lorenc.
The problem is setting the rotation based on the direction of the pool ball.
Reply


Messages In This Thread
Ball Object 3d Rotation - by uPeppe - 12.10.2011, 19:13
Re: Ball Object 3d Rotation - by Dredd - 12.10.2011, 20:28
Re: Ball Object 3d Rotation - by uPeppe - 13.10.2011, 05:01
Re: Ball Object 3d Rotation - by Lorenc_ - 13.10.2011, 06:15
Re: Ball Object 3d Rotation - by uPeppe - 13.10.2011, 06:28
Re: Ball Object 3d Rotation - by Phanto90 - 13.10.2011, 07:25
Re: Ball Object 3d Rotation - by uPeppe - 14.10.2011, 11:03
Re: Ball Object 3d Rotation - by uPeppe - 19.10.2011, 15:44
Re: Ball Object 3d Rotation - by uPeppe - 13.11.2011, 07:16
Re: Ball Object 3d Rotation - by Backwardsman97 - 13.11.2011, 07:34

Forum Jump:


Users browsing this thread: 1 Guest(s)