LWJGL
May 21, 2012, 00:45:32 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Sprites always facing Player?  (Read 1473 times)
Rainer
Regular nerd
**
Posts: 71


« on: April 29, 2007, 04:29:00 »

If i'd like to have sprites that are always facing the player, is there a simple solution, or do i have to calculate rotation values based on the player position and sprite position and then rotate the sprite?
Logged
Rainer
Regular nerd
**
Posts: 71


« Reply #1 on: May 01, 2007, 12:54:03 »

now solved with some vector geometry...
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!