• Angles how to flip (opposite angle to angle)?
    2 replies, posted
Now this title is probably confusing, but I want to rotate something so it faces the opposite direction of that angle, so if the entity is facing an angle, I want it to turn to face the angle opposite (like for a player, the angle directly behind them) Any ideas? I have tried rotatearoundaxis but I am having no luck? Thanks <3
Try making a new angle and subtracting 180 on each of the axis until you find the right one local ang1 = Angle( 1, 2, 3 ) print( Angle( ang1.x - 180, ang1.y, ang1.z ) )
How exactly are you using RotateAroundAxis? Can you share a snippet of code, maybe?
Sorry, you need to Log In to post a reply to this thread.