View Full Version : sprites
schobbejak
12th Apr 2006, 09:23 AM
I am trying to make sprites, that always face the camera. It's not working out: the plane does not face the camera.
I tried bAlwaysFaceCamera on staticmeshes and brushes
I set Drawtype dt_sprite on staticmeshes and brushes
And every combination of above
How is it done correctly?
Hourences
12th Apr 2006, 10:33 AM
You cant just set staticmeshes to dt sprite...you should not be doing this with brushes and staticmeshes at all. Specially not with brushes.
Alwaysfacecamera doesnt do what you think it does
Your easiest method is to use a note actor and simply change the texture it uses and there you go, a sprite
Or you could use a particle emitter and just spawn one single particle which is a sprite
schobbejak
12th Apr 2006, 10:37 AM
nice! thanks
schobbejak
12th Apr 2006, 02:35 PM
The notes seem to disappear when i am too close to them, maybe i'm touching them, not sure (they are very big and have a lot of transparancy). Is there a way to turn this off?
Also; How would i make staticmeshes always face the camera?
SlipStreams_65
12th Apr 2006, 03:47 PM
By definition, static meshes are 3 dimensional objects, therefore they cant be sprites. A static mesh which always faces the camera wouldnt be a static mesh.
I think if you get too close to a sprite your camera disappears inside its plane, but as long as its not literally in your face it shouldnt be a problem.
schobbejak
12th Apr 2006, 05:43 PM
I thought maybe it could be done with a staticmesh staticmesh plane (which is 2d).
I put the sprites(notes) very high in the room so i can't touch them , to see what happens, and they are still disapearing. they disapear when i'm under them, are close to under them.
vBulletin® v3.8.0 Release Candidate 2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.