RnBoy15 Posted July 18, 2008 Share Posted July 18, 2008 Ahm.... so... How can I rotate my player_actor? I mean... uhh how can i explane If this is the charactor: ___ l___ then how can I rotate him ___ /___ this way? Link to comment Share on other sites More sharing options...
Doomed_Space_Marine Posted July 18, 2008 Share Posted July 18, 2008 0173: set_actor $PLAYER_ACTOR Z_angle_to 262.0 Link to comment Share on other sites More sharing options...
RnBoy15 Posted July 18, 2008 Author Share Posted July 18, 2008 0173: set_actor $PLAYER_ACTOR Z_angle_to 262.0 Thats the Z angle... the atitude of the character, thats not what i need... Link to comment Share on other sites More sharing options...
gtasbigfoot Posted July 18, 2008 Share Posted July 18, 2008 (edited) 03C8: rotate_player-180-degrees 05D4: AS_actor $PLAYER_ACTOR rotate_angle 80.0 And, the way I get Player angle is like this: 0172: [email protected] = actor $PLAYER_ACTOR z_angle000B: [email protected] += 180.0 // floating-point values Because 0172: reads the angle and 180.0 will turn it around so the actor faces the player,I thinked it may be usefull for you to know that aswell,so the angle postion is the same as the player, but 000B: will return the actor so the actor does not have his back turned to him,and then CJ and the spawned actor will be facing each other if you set the spawned actor z angle to [email protected] Edited July 18, 2008 by gtasbigfoot Link to comment Share on other sites More sharing options...
Doomed_Space_Marine Posted July 18, 2008 Share Posted July 18, 2008 0173: set_actor $PLAYER_ACTOR Z_angle_to 262.0 Thats the Z angle... the atitude of the character, thats not what i need... You're confusing position and rotation. That's not Z position, that's Z axis rotation. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now