Hey all, first Unity project. Loving Unity but the learning curve is fairly thick to someone not used to OOP or C#. I'm rolling my own physics/collision as I don't need the might of Havok in a simple asteroids type shooter, so I cant do any rigid body cheats.
Getting this error:
Both the ship code (this firing script is activated in the ship's update code), and the bullet code have a Vector3 "velocity" variable. BulletShoot is the bullet's movement script, and it works until I try and add the ships velocity to bVel in that commented out line.
Not really sure what I'm doing wrong, or how to find an answer. Any ideas?
Thanks for the pointer Dave, it gave me another error but was part of the solution. I need move BulletShoot into <> for c#. I dont quite understand this and it's caused other wierd artifacts, but it's movin along. Thanks!
answered Mar 24 '11 at 03:16 AM
BooletShoot bVel = bullet.GetComponent("BulletShoot");
answered Mar 23 '11 at 07:05 AM