testing weapon switch rpc

This commit is contained in:
sebastianhampel1 2023-07-14 20:02:11 -04:00
parent 7d418ee119
commit 2956fe9b99

View File

@ -146,12 +146,8 @@ namespace Item
projectile.transform.localScale =bulletSpawnPoint.transform.localScale; projectile.transform.localScale =bulletSpawnPoint.transform.localScale;
InstanceFinder.ServerManager.Spawn(projectile); //var projectile = Instantiate(projectilePrefab, bulletSpawnPoint); InstanceFinder.ServerManager.Spawn(projectile); //var projectile = Instantiate(projectilePrefab, bulletSpawnPoint);
//InstanceFinder.ServerManager.Spawn(projectile); //InstanceFinder.ServerManager.Spawn(projectile);
/*projectile.transform.localPosition = Vector3.zero;
projectile.transform.localEulerAngles = Vector3.zero;
projectile.transform.localScale = Vector3.one;*/
var pRigid = projectile.GetComponent<Rigidbody>(); var pRigid = projectile.GetComponent<Rigidbody>();
/*Modified targeting system /*Modified targeting system