Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: shinodan on April 06, 2012, 01:55:28 PM

Title: Shooting game objects.
Post by: shinodan on April 06, 2012, 01:55:28 PM
Im a little confused and ive looked all over the forum but i cant find anything on this.

i thought that if i made my shoot button spawn a bullet and gave it force it would work but im clueless.
can anyone explain how to do this please?
Title: Re: Shooting game objects.
Post by: allo888 on April 06, 2012, 06:21:43 PM
is the force in the right direction? if it is sorry for being a time waister 
Title: Re: Shooting game objects.
Post by: Alex Chouls on April 06, 2012, 07:00:15 PM
Checkout PlaymakerSamples/TestLab/Physics/ThrowGrenade sample scene

Check the direction and amount of force.

You might also want to turn off gravity on the bullet's rigid body.

If the bullet is really fast/instant you might want to use a Mouse Pick or Raycast instead.