Search found 10 matches
- Sat Dec 31, 2005 4:40 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Easiest 3rd Person Camera
- Replies: 7
- Views: 5954
I made a little diagram so that people can maybe better understand the trigonomety involved... http://static.flickr.com/39/79818759_5fcb1c4d5b_o.jpg of course in the code the roation is given in degrees and you have to convert those degrees to radians in order to take the sin or cos of them. to do t...
- Fri Dec 30, 2005 3:39 pm
- Forum: Beginners Help
- Topic: "simple" World rotation
- Replies: 6
- Views: 352
- Fri Dec 30, 2005 3:36 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Easiest 3rd Person Camera
- Replies: 7
- Views: 5954
- Fri Dec 30, 2005 3:29 pm
- Forum: Beginners Help
- Topic: "simple" World rotation
- Replies: 6
- Views: 352
- Fri Dec 30, 2005 3:00 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Easiest 3rd Person Camera
- Replies: 7
- Views: 5954
Easiest 3rd Person Camera
I decided that making the camera a child of the playernode was not the best idea because it restricts what you can do with the camera. Keeping that in mind I wrote a little bit of code to make the camera follow a character, position itselft and rotate appropriately based on the platernodes position ...
- Fri Dec 30, 2005 2:29 pm
- Forum: Beginners Help
- Topic: character rotation
- Replies: 5
- Views: 528
dont need to make your camera a child of the camera node... do something like this in your render loop int cOffset = 0; // change this to rotate the camera around the character int cZoom = 200; // radius.. decrease to zoom in, increase to zoom out core::vector3df r = playernode->getRotation(); core:...
- Fri Dec 30, 2005 12:05 am
- Forum: Beginners Help
- Topic: object getting stuck on slope
- Replies: 4
- Views: 264
- Thu Dec 29, 2005 6:02 pm
- Forum: Beginners Help
- Topic: object getting stuck on slope
- Replies: 4
- Views: 264
- Thu Dec 29, 2005 3:18 pm
- Forum: Beginners Help
- Topic: Simultaneous Key Events
- Replies: 1
- Views: 209
- Thu Dec 29, 2005 2:53 pm
- Forum: Beginners Help
- Topic: Simultaneous Key Events
- Replies: 1
- Views: 209
Simultaneous Key Events
I want to be able to handle multiple key presses at the same time... for example pressing up and right yields the code for up to run as well as the code for right. As my code stands now it will only handle one key press and not the other... class KeyEventReceiver : public IEventReceiver { public: vi...