nickworks / TreeOfLife

This is a game being developed by DAGD students.
2 stars 1 forks source link

Turret code updated for 3D #60

Closed Halbridious closed 6 years ago

Halbridious commented 6 years ago

Turrets from 2D fixed and updated to work in 3d space

Turrets track players that enter their trigger volume and fire a bullet in their direction

Turrets have customizable fire rate and customizable barrel rotation slerp for smooth animating

Bullets travel in a straight line (Currently don't respet gravity or track player or anything special).

Bullets collide with environment and are set up for customizable interations w/ various different tags (can be converted to layermask easily enough).

Bullets have player recognition but currently do nothing, will need to be integrated w/ Health/Respawn system.