Possible to make a 3d object act like a billboard/sprite?

Ask questions, discuss ideas, get answers
Post Reply
User avatar
fo0k
Posts: 1434
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Possible to make a 3d object act like a billboard/sprite?

Post by fo0k »

I want to make freaky objects that always face you like the billboards n sprites etc,. possible to use a mesh rather than just texture? (I have tried a bit and failed..)
User avatar
Apache Thunder
Posts: 1213
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA
Contact:

Re: Possible to make a 3d object act like a billboard/sprite

Post by Apache Thunder »

There is an unused code that when used on an effect emitter will always create a particle or mesh facing the camera:

Code: Select all

ObjectTemplate.useCameraOrientation 1
I doubt the object will continue to face the camera once spawned, thus you will need to create a fast refresh by giving the object a short time to live and a fast emit frequency. Though there is a limit to how fast you can get an emitter to emit sprites. Not sure about particles or standard objects. (though when used on projectiles, the game then allows faster emit speeds)

Aside from that method, only a exe hack that would enable a custom shader would allow you to create 3D meshes that always face the camera.
ImageImageImage
I have cameras in your head!
User avatar
fo0k
Posts: 1434
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Possible to make a 3d object act like a billboard/sprite

Post by fo0k »

thanks.. ahh well :)
Post Reply