Commit Graph

3 Commits

Author SHA1 Message Date
DamianX
30b5a2ac1d Fixed a bunch of hard dels (#32186) 2022-03-11 19:14:04 -06:00
Paul Ritter
5ccf7f21fb fixed ray hard-dels (#27645)
* fixed ray hard-dels

* supercall to end

* so yeah i wasn't thinking
2020-08-25 19:07:03 -03:00
Paul Ritter
f471180f03 Laser rework and Raycasting stuff (#27406)
* basic rays

* vector3 tostring

* hotfix to exclude origin

* altered test method

* vector3 minus

* actually made raycasthits usable

* using raycasthits

* renamed test procs file

* ups

* moved code

* forgot

* moved vector & procs

* reworked 2d-vectors
reworked rays to work with 2d-vectors
optimized raycast algorithm

* reworked raycasting to be costumizable

* reworked beams to use ray - first experiment

* reworked raycasting to enable control of loop over raycast_hit_check

* readability

* reworked beams to use new rays
TODO:
- beam/rebound
- ray/is_point
- test

* vector to angle

* progress - TODO angle calculations

* progress on rebound

* hi damian

* fix oops

* ray hotfixes
TODO:
- use clickpos as ray target if possible
- move rebound logic to ray_hit_check
- graphics

* hotfix & deletions

* added costum hit_type capability
reworked rebound call logic
TODO:
rebound vector calculation

* rebound fix

* angle & mirror fix

* dumb fuck sadasfhgdasd

* start to remove debugging spam

* reflection now fully implemented

* started work on visualization

* damian wants to see

* almost done ™️

* progress report
- turn wont work, need to write render logic to generate beams

* reeeflections

* added drawing code

* - small tweaks
- removed old code
- finished visualization

* added spawn to let different reflections be drawn independent from each other

* removed hitlers

* oh shit oh fuck

* some small fixes

* yeah ok i goofed travis get over it

* made dependant code work

* dumbfire implemented but not tested cause how

* example

* remove bench stuff oops

* rewrote raycast hit code to allow more possible modifications

* added original check

* original_check hotfixes

* actual hotfix...

* mirror fix

* original_check hotfix

* unit tests

* to_bump hotfix

* to_bump hotfix

* misc fixes

* reworked collision physics

* big nono

* finishing collision physics

* fixes for sonix

* tgstation ™️

* removed old unit-test

* unit test fixes

* damian actually reviewed

Co-authored-by: Damian <damian@autistici.org>
2020-08-23 20:13:42 +02:00