Jump to content
Sign in to follow this  
fn_Quiksilver

Carrier turrets

Recommended Posts

Hi lads,

 

Having an issue with turrets on the aircraft carrier, and I only see two options (the issue described with both)

 

1. Use setPosX to place the turret in the correct spot.

 

- Problem: When the turret spins to engage a target, including recoil, it can dislodge itself and move around.

 

2. Use attachTo

 

- Problem: Turret inherits carriers simulation properties and no longer moves smoothly. stutters around with its movement.

 

 

I have an idea of something to try but it is quite hacky. I am wondering if anyone has ideas? Seems like we're stuck with two bad choices.

Share this post


Link to post
Share on other sites

Try:

attachTo with a GameLogic, then attach the Turrent to the GameLogic.

or

Maybe... setMass to make it too heavy to be affected by recoil.

Share this post


Link to post
Share on other sites

ill try the setmass idea. i dont really want to be spawning 'babysitter' logic entities but that sounds like it could work too.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×