- Home /
no velocity/force after build unity4 JS
first i want to thank all of you out there for showing us (noobs) the way ;-)
In editor everything works perfect, but when i build my project everything works accept the velocity of my instintiated bullet. ???????? Frustrated for a whole week.
var Bullet1 : GameObject = Instantiate(BullitHandgun, SpawnPoint1.transform.position, SpawnPoint1.transform.rotation); Bullet1 .transform.rigidbody.velocity = Bullet1 .transform.forward * 200;
Ok to be clear everything works in the editor. After build the bullet only instantiates and falls down :-( I'v done this many times before and never had a problem. now UNITY 4 Problems*infinity :-|
do you use "active" anywhere at all? recall there is a slight change in Unity4
Your answer
![](https://koobas.hobune.stream/wayback/20220613093157im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
How not affect other objects with physics of Detonator? 1 Answer
Function works too fast on build. 1 Answer