4 Commits (4068d504a58724d376e8ae64a48b296c04567324)

Author SHA1 Message Date
Peery 4068d504a5 Missile Movement and dV Capacity
Implemented Missile movement and acceleration via simple throttle (from 0.0 to 1.0) instructions. Each missile also has its own fuel given in dV (delta-V) and all thrusters turn and stay off when it reaches 0.

Known Issue:
The rotation thrusters do not turn off correctly when the dV runs out. Seems to be just a visual bug tho.
2 years ago
Peery 9b91d2c8a9 Missile Side Thrusters and new Shader path
Changed the missile model to also include thrusters for rotational purposes and gave them the same exhaust shader.
Each shader is a unique instance and displayed thrusts can be set with set_X_rotational_thrust(), set_Y_rotational_thrust() and set_main_engine_thrust() in the missile root respectively.

Also added a second missile in the space scene just for debugging purposes.
2 years ago
Peery d393ab1150 Missile Exhaust Cutoff Point
The change_engine_power() function in the missile root node hides the entire engine exhausts when the power is set to 0.
2 years ago
Peery 8b25efe822 Missile with Exhaust Effects
Created a missile model with 4 exhausts in Blender and imported it with collision shapes (not tested yet if they work).
Created an exhaust shader with a simple particle trail. The shader that creates the exhaust flame can be adapted to the missile burn power.
2 years ago