Code : Tout sélectionner
AddStaticGeometryEntity(StaticGeometry, EntityID(#barrier), 4000,0,4000,200,200,200) ; une barrière
AddStaticGeometryEntity(StaticGeometry, EntityID(Ground_entity), x*1000, 0 ,z*1000,10000,10,10000) ; le sol
For z = 0 To 3
For x = 0 To 3
AddStaticGeometryEntity(StaticGeometry, EntityID(1), x*1500,0,z*1500,200,200,200)
Pas besoin d'opengl sous windows
et ligthpower ne fonctionne plus.
Ça marche sous Xp
Mesa.