View Single Post
Old 7th October 2003, 10:50 AM   #24
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,565
Default Re: POLL - VOTE NOW

thanks for those suggestions.

Adding support for the trackball should be quite easy from a plugin

You have these functions to play with:

Prototype Person *get_person(); /** returns ptr to Person structure **/
Prototype Boolean ac_person_is_walk_vehicle();
Prototype void person_set_walk();
Prototype void person_set_spin();
Prototype void ac_person_scale_mult(float zoommult);
Prototype void ac_person_scale_div(float zoomdiv);
Prototype void ac_person_set_rotation(Point3 *rotdegs);
Prototype void ac_person_add_rotation(Point3 *rotdegs);
Prototype void person_reset();
Prototype void person_turn_left(float angle); /** angle in degrees **/
Prototype void person_turn_right(float angle);
Prototype void person_turn_down(float angle);
Prototype void person_turn_up(float angle);
Prototype void person_move_left(float dist);
Prototype void person_move_right(float dist);
Prototype void person_move_forward(float dist);
Prototype void person_move_back(float dist);
Prototype void person_move_up(float dist);
Prototype void person_move_down(float dist);
Prototype void person_set_location(Point3 *p);
Prototype void person_set_offset(Point3 *offset); /** for spin mode **/
Prototype void person_zero_offset(); /** spin mode origin **/
Prototype void person_get_spin_rotation(float *x, float *y);
Prototype void person_set_spin_rotation(float x, float y);
Prototype void person_add_spin_rotation(float x, float y);

Andy
Andy is offline   Reply With Quote