Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Bullets spawn set velocity, goes no where on vita, works fine on PC etc...

$
0
0
I have a bullet that is spawned, that bullet prefab has a startup script as such:


void Start () {
rigidbody2D.velocity = velocity * this.transform.localScale.x;
}

So I set the velocity on start to 12. I am not sure why this isnt working...the bullet just sits there. It works on PC, and even the OUYA. I cannot figure out why this doesn't work on Vita.

I also just to check my sanity replaced the

rigidbody2D.velocity = new Vector2(12,0);

and incase it was a scaling issue I...

Bullets spawn set velocity, goes no where on vita, works fine on PC etc...

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>