make an quad point to camera blitz3d

Blitz3D Forums/Blitz3D Programming/make an quad point to camera blitz3d

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi

I have a problem with my own tree system
i am going to create a single surface leaf. instead of sprite i use Quads aka 2 triangles merged to a rectangle freemoving.


problem i have i have no idea how to make the quad always point at camera. i cant use turn entity cause there is not entity for each leaf.


Type Leaf
Field surface
field x#,y#,z#
field vert1
field vert2
field vert3
field vert4
end type

now how do i make it point to camera :(