testing weapon switch rpc
This commit is contained in:
parent
7d418ee119
commit
2956fe9b99
@ -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
|
||||||
|
Reference in New Issue
Block a user