Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

Turn player 90 degrees?

| Inside3d Forums Forum Index -> QuakeC Programming

View previous topic :: View next topic
Author | Message
--- | ---
gnounc Joined: 06 Apr 2009 Posts: 120 |

Posted: Sat May 01, 2010 9:37 am Post subject: Turn player 90 degrees? |

I'd like to simulate grid confined movement by having a button to turn the player 90 degrees left and right. I've tried modifying self.angles to no avail. Any help?

Back to top |

c0burn Joined: 05 Nov 2004 Posts: 158 Location: Liverpool, England |

Posted: Sat May 01, 2010 10:03 am Post subject: |

Check the teleport code, you need to use fixangles.

Back to top |

gnounc Joined: 06 Apr 2009 Posts: 120 |

Posted: Sat May 01, 2010 6:27 pm Post subject: |

Will do, thanks chum!

Back to top |

gnounc Joined: 06 Apr 2009 Posts: 120 |

Posted: Sat May 01, 2010 6:45 pm Post subject: |

works beautifully, thanks

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> QuakeC Programming | All times are GMT
Page 1 of 1

Jump to:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2004 phpBB Group