-
Notifications
You must be signed in to change notification settings - Fork 10
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
new weapon: laser #7
Comments
Slice: we get the entry point from the first raycast, but how do we get the exit point for the laser? world.rayCast(callback,p1,p2); //entry point |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Laser component: a raycast with reflection off objects.
Asteroid could be given a reflective index (albedo) from [0 to 1]
Where 0 does not reflect, and 1 reflects 100% of the beam.
0.5 would reflect 50% of the beam, beam dims accordingly.
Asteroid heats up with laser exposure, based on % not reflected?
The text was updated successfully, but these errors were encountered: