Search found 2 matches

by gencosman
Thu Aug 09, 2007 1:18 am
Forum: Beginners Help
Topic: Sinus/Cosinus for movement
Replies: 2
Views: 388

Ok it works ;), thanks.

The example I copied from was some vector math.
by gencosman
Wed Aug 08, 2007 8:07 pm
Forum: Beginners Help
Topic: Sinus/Cosinus for movement
Replies: 2
Views: 388

Sinus/Cosinus for movement

I wanted to make a model move freely in 360°, but when changing direction (+/-45°) the directions change a little. As an example on O° it gets up, +45° and back, the movement goes up with a little to the right. In class MyEventReceiver : public IEventReceiver: case KEY_KEY_Q: player->angle-=45; brea...