having a plane facing the camera

Blitz3D Forums/Blitz3D Beginners Area/having a plane facing the camera

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.

I guess you are talking about the blitz3d CreatePlane plane? I rarely use it. If I recall correctly, you can turn it. So do something like this:

plane =createplane()
turnentity plane,90,0,0

camera=createcamera()
translateentity camera,0,0,-10

entityparent plane, camera

Parenting the plane to the camera willmake it move with the camera. You could also try to use Pointentity in the mainloop:

pointentity plane ,camera
rotateentity plane, entitypitch(plane),entityyaw(plane),0

Although this may work with all kinds of meshes, I'm not sure if a plane that is kind of a special object will response exactly the same way.