Search found 10 matches

by mepcotterell
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...
by mepcotterell
Fri Dec 30, 2005 3:39 pm
Forum: Beginners Help
Topic: "simple" World rotation
Replies: 6
Views: 352

well, first... are the planets going to rotate arounf the spaceship? or around a certain point in space?
by mepcotterell
Fri Dec 30, 2005 3:36 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Easiest 3rd Person Camera
Replies: 7
Views: 5954

This was just a quick 3rd person set up... onPostRender eh? I'll look into that.
by mepcotterell
Fri Dec 30, 2005 3:29 pm
Forum: Beginners Help
Topic: "simple" World rotation
Replies: 6
Views: 352

if the orbits are pure circles and only rotate about the x,z x,y or z,y axis's then just update their positions from a certain point using trig given the distance from the planet to the center point is the radius from which you derive ur trig functions
by mepcotterell
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 ...
by mepcotterell
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:...
by mepcotterell
Fri Dec 30, 2005 12:05 am
Forum: Beginners Help
Topic: object getting stuck on slope
Replies: 4
Views: 264

u need to set the ellipoid radius... setEllipsoidRadius (const core::vector3df &radius)
by mepcotterell
Thu Dec 29, 2005 6:02 pm
Forum: Beginners Help
Topic: object getting stuck on slope
Replies: 4
Views: 264

my guess... ur collision response animator (if ur using one whichj i'm sure u are) may need some radial transformation
by mepcotterell
Thu Dec 29, 2005 3:18 pm
Forum: Beginners Help
Topic: Simultaneous Key Events
Replies: 1
Views: 209

nevermind... i got it to work perfectly using bool keys method
by mepcotterell
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...