Game Development Community

Sprite in 3d TGE?

by Warit Achavanuntakul · in General Discussion · 12/26/2006 (6:06 am) · 4 replies

Quick question, how do i add normal sprite with 3d position in torque engine?
Do I have to create a flat object with the image and keep rotating it to always face the camera?
Or do I have to use particle emitter just to add one sprite?

Thx,

Warit

#1
12/26/2006 (6:53 am)
Create a Billboard with a modelling software and export it to always face the camera but retain the Z axis. If you have sprite animation and such it gets really hairy. So investigate "Billboards".
#2
12/26/2006 (7:40 am)
How exactly do I create the Billboard class object?

Can't find it anywhere...
#3
12/26/2006 (7:48 am)
Billboard is an exporter feature, any .dts can be billboarded, with Max, you make it billboard by changing the name to BB::YourMeshName. Take a look on TDN for details on how to use the exporter.
#4
12/26/2006 (7:49 am)
Http://tdn.garagegames.com/wiki/DTS/3dsmax/Advanced_Materials