Page 1 of 1

How Do I Match Object Bullet Speed

PostPosted: Sat Sep 07, 2013 2:01 am
by MrGator
Hello, I am wanting a newly spawned object to match the same speed of a object already spawned. How would I accomplish this? Both of the objects contain the bullet behavior. MrGator2013-09-07 03:12:58

Re: How Do I Match Object Bullet Speed

PostPosted: Sat Sep 07, 2013 9:49 am
by Blacksmith
Hi @MrGator,

You could do this by using a global variable, and setting it to the speed of the object you wish to match. When you spawn the new object use your global to set the new bullet speed.

Hope that helps :)

Re: How Do I Match Object Bullet Speed

PostPosted: Sat Sep 07, 2013 10:16 am
by LittleStain
on spawn - set objectnew bullet speed - objectold.bullet.speed ?