|
this is my script someone plz tell me why my bullet doesnt shoot and just falls to the ground
(comments are locked)
|
|
What you want to do is use instead of This should solve your problem! -Aj dont worry i fixed it by cloning a gameobject instead of a prefab, anyway it says BCE0019: 'AddForce' is not a member of 'UnityEngine.GameObject'.
Sep 06 '11 at 12:42 PM
sam32x
velocity and AddForce are members of rigidbody, not gameobject. I think you are looking for
Sep 06 '11 at 01:35 PM
SilverTabby
Sep 06 '11 at 01:37 PM
Joshua
(comments are locked)
|
|
I think the direction of the velocity you want to give it is simply clone.forward * magnitude. still falls to the ground?
Sep 06 '11 at 11:21 AM
sam32x
i tried attaching the move thing to my bullet
Sep 06 '11 at 11:37 AM
sam32x
(comments are locked)
|
