Camera above/behind ship

Blitz3D Forums/Blitz3D Beginners Area/Camera above/behind ship

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.

Tformnormal 0,0,1,spaceshipmodel,0
velocityofbulletinxdirection#=bulletspeed#*tformedx()
velocityofbulletinydirection#=bulletspeed#*tformedy()
velocityofbulletinzdirection#=bulletspeed#*tformedz()



-transforms a unit vector pointing in the 'forwards' direction (ie z directoin) from the spaceship entity space to the world space.