Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: PureArtist on November 27, 2016, 09:27:39 PM

Title: how to create shooting bullets?
Post by: PureArtist 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 ?
Title: Re: how to create shooting bullets?
Post by: Omninorm 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.