playMaker

Author Topic: how to create shooting bullets?  (Read 1332 times)

PureArtist

  • Playmaker Newbie
  • *
  • Posts: 8
how to create shooting bullets?
« on: November 27, 2016, 09:27:39 PM »
Hi I am using create object bullet from spawn point empty, but how can I tell the game object bullet to accelerate in the desired empty axis ?
« Last Edit: November 27, 2016, 09:32:47 PM by PureArtist »

Omninorm

  • Playmaker Newbie
  • *
  • Posts: 33
Re: how to create shooting bullets?
« Reply #1 on: December 05, 2016, 05:00:07 PM »
Add an "Add Force"  Action to the bullet object you are spawning. Set the direction you want it to go towards and select the type of force. I.e Impulse. Set the action to happen at every frame.
Now spawn an instance of that bullet everytime you click or you can check it on mouse down / key down etc.