1
Modification Help / Help: Custom turret aiming
« on: January 11, 2018, 10:43:56 AM »
Hey,
I'm looking to get back into Blockland modding by completing a long-term aspiration of mine. I want to use Port's DTS exporter to model and code an automatic ballistic turret. This would of course require some projectile math and standard 3D modelling that I could handle.
The problem arises with actually properly rigging a model and then controlling it. If at all possible, I would need as much pointers as possible.
Basic concept:
I can get as far as working out the angle A, but how would I accurately set up the movement on even a basic level on a turret and then actually set the angle A via script.
Any help is appreciated.
I'm looking to get back into Blockland modding by completing a long-term aspiration of mine. I want to use Port's DTS exporter to model and code an automatic ballistic turret. This would of course require some projectile math and standard 3D modelling that I could handle.
The problem arises with actually properly rigging a model and then controlling it. If at all possible, I would need as much pointers as possible.
Basic concept:
I can get as far as working out the angle A, but how would I accurately set up the movement on even a basic level on a turret and then actually set the angle A via script.
Any help is appreciated.