Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


2D Sprite in 3D Space


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Code Fox   Members   -  Reputation: 1809

Like
0Likes
Like

Posted 23 December 2011 - 01:07 AM

I'm using java right now to experiment with 3D spaces, and manipulating the objects with in. ( Raycasting is fun ) .

I would like to know if there is a guide for making a 2D sprite rotate to always face the camera angle of the player .
Just like Doom, Wolfenstein 3d, or Runescape Classic.

Thank you.

Does Anyone Actually Read This ?
 


Sponsor:

#2 dejaime   Crossbones+   -  Reputation: 4119

Like
0Likes
Like

Posted 24 December 2011 - 09:08 AM

That depends 100% on how you're implementing your game!
I guess noone here will be able to help you really much without access to the code, and few will have time to read it and answer you =/

#3 swiftcoder   Senior Moderators   -  Reputation: 10413

Like
1Likes
Like

Posted 24 December 2011 - 09:35 AM

The general technique is called 'billboarding', in particular you will want to research 'camera-aligned billboards'.

Tristam MacDonald - Software Engineer @Amazon - [swiftcoding]


#4 dejaime   Crossbones+   -  Reputation: 4119

Like
1Likes
Like

Posted 24 December 2011 - 12:22 PM

I still don't think I'll be able to point him to a good guide without knowing if he's using java 3d api or Ogre4j or something else.
As asked:

I would like to know if there is a guide for making a 2D sprite rotate to always face the camera angle of the player .






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS