I got weird probs

Blitz3D Forums/Blitz3D Programming/I got weird probs

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

And your new create arrow code goes as follows

Function create_bullet(gun_entity)
b.bullet=New bullet

temp_x=EntityX(gun_entity,True)
temp_y=EntityY(gun_entity,True)
temp_z=EntityZ(gun_entity,True)

b\entity=CopyEntity(bolt) ; copy the main bullet entity , into the type object
b\pivot=CreatePivot()
PositionEntity b\entity,temp_x,temp_y,temp_z
EntityType b\entity,2
RotateEntity b\entity,EntityPitch(gun_entity,True),EntityYaw(gun_entity,True),0
PositionEntity b\pivot,temp_x,temp_y,temp_z
b\range=300 ; the range of the bullets
b\speed=18; the speed of the bullets
End Function

tadaaaaaaaaaaaa