This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-01-14 19:26:35

Jackpot33
Scratcher
Registered: 2013-01-01
Posts: 2

How to make a bullet turn in sync with the character.

I have been working on a turret game where the turret you play as has to be able to turn and move around quickly to outmaneuver your opponent. I have been trying to make the bullet turn at the same time as the turret, but it won't work. Is there any way to make the bullets direction always be equal to the turrets? Thanks.

Offline

 

#2 2013-01-14 19:42:54

amcerbu
Scratcher
Registered: 2009-07-21
Posts: 500+

Re: How to make a bullet turn in sync with the character.

You can tell the bullet to do this:

point in direction ([direction v] of [turret v])

Last edited by amcerbu (2013-01-14 19:43:01)

Offline

 

#3 2013-01-14 20:03:57

Jackpot33
Scratcher
Registered: 2013-01-01
Posts: 2

Re: How to make a bullet turn in sync with the character.

Thanks! I am pretty new to scratch so I am still learning all of the functions.

Offline

 

Board footer