Hi, G:<br />I tried to reproduce the bullet from the 2d(space_shooter demo) and apply it in 3d but I don't know,it's probably not the best solution... does anyone have any solution? Thanks, I think this is another useful thing for newbies.<br /><br />script:<br />
<br />extends Area<br /><br /><br />const SPEED = 850<br /><br />var hit = false<br /><br /><br />func
process(delta):<br /><br /><br />#Bullet speed/vector3??<br />func ready():<br /> set_process(true)<br /><br /><br />func
hit_something():<br /> if (hit):<br /> return<br /> hit = true<br /> set_process(false)<br /> get_node(&quot;anim_splash&quot;).play(&quot;splash&quot;)<br /><br /><br />func on_visibility_exit_screen():<br /> queue_free()<br /><br /><br />#Hit an Enemy<br />func
on_bullet_area_enter( area ):<br /> if (area.has_method(&quot;injure&quot;)):<br /> area.destroy()<br /> hit_something()<br /><br /><br />#Hit walls,etc.<br />func
on_bullet_body_enter( body ):<br /> hit_something()
<br /><br /><img alt="bullet_img_01png" src="https://s6.postimg.org/84mtjjb35/bullet_img_01.png" title="Image: https://s6.postimg.org/84mtjjb35/bullet_img_01.png"><br /><img alt="bullet_img_02png" src="https://s6.postimg.org/hqkzdkrmp/bullet_img_02.png"><br /><br /><br /><br /><br />