I have a unit in my game which I would like to fire sideways. I made the turret locked into the 90 degrees position, however, whenever the unit wants to fire it turns itself toward the target instead of its turret. I have tried to get this to work by looking at the flags and tinkering with different settings, but to no avail. It seems like a relatively straightforward problem that I'm assuming has a fix which my limited knowledge of data does not entail. Is there a way to make this work?
It sounds like your weapon isn't connected to the turret properly. Make sure the weapon has a turret on the unit object and make sure the turret has an actor.
I checked out the diamondback, and although it did help me a little bit, my unit still wants to face the enemy head on.
And Spoolofwhool, you are actually probably correct, I didn't really consider that that would be the problem. All I did was make a weapon and a turret object that is locked in one direction, and put them on the unit, without actually making the turret have an actor. Therefore, if I were to make an actor for the turret, would it work if the turret actor had an invisible model? And would this actually make the unit want to face sideways to fire instead of head on?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have a unit in my game which I would like to fire sideways. I made the turret locked into the 90 degrees position, however, whenever the unit wants to fire it turns itself toward the target instead of its turret. I have tried to get this to work by looking at the flags and tinkering with different settings, but to no avail. It seems like a relatively straightforward problem that I'm assuming has a fix which my limited knowledge of data does not entail. Is there a way to make this work?
Would looking at the Diamondback unit\turret help?
It sounds like your weapon isn't connected to the turret properly. Make sure the weapon has a turret on the unit object and make sure the turret has an actor.
I checked out the diamondback, and although it did help me a little bit, my unit still wants to face the enemy head on.
And Spoolofwhool, you are actually probably correct, I didn't really consider that that would be the problem. All I did was make a weapon and a turret object that is locked in one direction, and put them on the unit, without actually making the turret have an actor. Therefore, if I were to make an actor for the turret, would it work if the turret actor had an invisible model? And would this actually make the unit want to face sideways to fire instead of head on?