I'm working on a new version of starcruisers right now, and as part of the game design, the spaceship is loaded with many weapons each with different firing arcs. To achieve this, the game uses triggers to attach model additions to different attachment points on the spaceship. Then when a weapon fires, it finds the actor that represents that weapon and uses the 'make actor face angle' trigger to rotate that weapon to face the target.
All this work fine... except when the spaceship turns. As soon as it turns, all model additions attached to any attachment points on the spaceships get its rotation reset. So a spaceship not turning will show its weapons facing the target. But as soon as the spaceship begin turning, all weapons will face the same direction as the spaceship.
Anyone know how to fix this problem? I tried going to actors and turn off transfer rotation property, that does nothing.
I'm working on a new version of starcruisers right now, and as part of the game design, the spaceship is loaded with many weapons each with different firing arcs. To achieve this, the game uses triggers to attach model additions to different attachment points on the spaceship. Then when a weapon fires, it finds the actor that represents that weapon and uses the 'make actor face angle' trigger to rotate that weapon to face the target.
All this work fine... except when the spaceship turns. As soon as it turns, all model additions attached to any attachment points on the spaceships get its rotation reset. So a spaceship not turning will show its weapons facing the target. But as soon as the spaceship begin turning, all weapons will face the same direction as the spaceship.
Anyone know how to fix this problem? I tried going to actors and turn off transfer rotation property, that does nothing.
You should use Turrets from Data, they are made exactly for this