Jump to content
Sign in to follow this  
brsseb

My radar spinning around....my entire model!

Recommended Posts

Hi

Made a small ship (class derived SmallShip) and wantet to have a radar. Made teh osa_radar in Memory LOD (two vertices) and a rectangular block in main lod named "radar". But once ingame it wont spin around its axis, but instead it seems to orbit the entire ship like a small satelitt or an anoying bug flying around in circles.

Is the osa_radar axis name wrong? Or is the answer in the configfile?

brsseb

Share this post


Link to post
Share on other sites

Hi brsseb

It seems the radar class for ships is different from the tank class. Here is the code I used in the tiger gunboats:

class IndicatorRadar

{

selection = "radar";

axis = "osa radaru"; // this is the axis point you need to change

angle = -360;

min = 0;

max = 1;

};

By the way check that you have 2 axis points for the axis, otherwise some strange animations happen.

Cheers

Klink

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  

×