Rotating objects in relation to the camera
Blitz3D Forums/Blitz3D Beginners Area/Rotating objects in relation to the camera
| ||
Hi, could someone good at advanced commands please help me with this? I got really far and now I'm stuck. I want to make it so no matter what, the arm always moves in whatever way the selected rotation icon shows. The way it is now, that only happens at the beginning. Consecutive changes always mess it up. (Link removed. Please see post 3.) Last edited 2010 |
| ||
I got a 404 on the link. |
| ||
Sorry about that. Try this instead please. http://www.mediafire.com/?x4lpzjl1ajgkklk Last edited 2010 |
| ||
I didn't try your link, but maybe you could do it like this:TFormVector -1, 0, 0, camera, 0 ;tform vector from camera-space into global space TranslateEntity arm, TFormedX(), TFormedY(), TFormedZ() ;move arm |
| ||
Would you mind stepping me through it a little? I'm not good at this kind of stuff. |