thrid person game

Blitz3D Forums/Blitz3D Beginners Area/thrid person game

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.

Here's an example:

;An Example of Gravity:

Graphics3D 640,480,16,1

Collisions 1,2,2,2

Cam=CreateCamera()
EntityType cam,1
PositionEntity cam,0,9,0
CameraClsColor cam,0,255,255

ground=CreateCube()
ScaleEntity ground,5,1,5
EntityType ground,2

While Not KeyHit(1)

If Not EntityCollided(cam,2)
TranslateEntity cam,0,-0.1,0
EndIf

UpdateWorld
RenderWorld
Flip
Wend
End

-me