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.
Develop games in your browser. Powerful, performant & highly capable.
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 :)
on spawn - set objectnew bullet speed - objectold.bullet.speed ?