Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The FlowerGun example is firing the wrong direction. #181

Open
TDVsGithub opened this issue Apr 24, 2018 · 1 comment
Open

The FlowerGun example is firing the wrong direction. #181

TDVsGithub opened this issue Apr 24, 2018 · 1 comment

Comments

@TDVsGithub
Copy link

The FlowerGun example is firing the wrong direction, tried to rotate the firepoint or change in the script, but I did not solve it. anyone solve it or know what to do?
Please let us know.
Thanks in advance!

@omer1615
Copy link

I fixed it by edit NVRExampleGun.cs line 22 to this:

bullet.GetComponent<Rigidbody>().AddRelativeForce(FirePoint.forward * 100);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants