114 {
115 if ( catch_name == "Animal_LepusEuropaeus" )
116 {
118
119 vector forward_vec = GetDirection();
120 vector side_vec = forward_vec.
Perpend( ) * -0.22;
121 forward_vec = forward_vec * -0.3;
122
123 vector chatch_pos = obj.GetPosition() + forward_vec + side_vec;
124 obj.SetPosition( chatch_pos );
125 }
126 }
vector Perpend()
Returns perpendicular vector. Perpendicular vector is computed as cross product between input vector ...