It looks like you're new here. If you want to get involved, click one of these buttons!
I want to create an Instantiate and addforce to that Instantiate, but when I try to addforce nothing happens. There no error message telling me what wrong. What can I do?
Here is the code:
GameObject bulletclone = Instantiate(bulletob);
bulletclone.transform.position = transform.position;
bulletclone.transform.rotation = transform.rotation;
rb = GameObject.Find("Bullet(Clone)").GetComponent<Rigidbody2D>();
rb.AddForce(transform.forward * Time.deltaTime * thrust, ForceMode2D.Impulse);